diff options
Diffstat (limited to '')
-rw-r--r-- | roles/snap/tasks/main.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/roles/snap/tasks/main.yml b/roles/snap/tasks/main.yml index 755a695..f3be9ba 100644 --- a/roles/snap/tasks/main.yml +++ b/roles/snap/tasks/main.yml @@ -9,7 +9,11 @@ failed_when: false - name: All changes in /etc are snap changes? - shell: git status --porcelain=v1 | cut -c 4- | grep -G -v '^systemd/system/' | grep -G -v '/snap\.\|snap-' + shell: | + git status --porcelain=v1 \ + | cut -c 4- \ + | grep -G -v '^systemd/system/' \ + | grep -G -v '/snap\.\|snap-' args: chdir: /etc register: only_snap |