aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/snap
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-01-26 16:17:50 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-01-26 16:17:50 +0100
commitcd0db89e0a8eb389a305001171f6a835d3caa6fb (patch)
tree87607d4fdf1921365bee0e7f380c63fefbdf50fd /roles/snap
parentmy_server: one step instead of three (diff)
downloadmaintenance-cd0db89e0a8eb389a305001171f6a835d3caa6fb.tar.gz
maintenance-cd0db89e0a8eb389a305001171f6a835d3caa6fb.zip
shorten long command lines
Diffstat (limited to '')
-rw-r--r--roles/snap/tasks/main.yml6
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