aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/snap/tasks
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-08-10 20:53:59 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-08-10 20:53:59 +0300
commitd019f5b071deccd45a2d5ba2364a4d8f55b93df9 (patch)
tree79af17e965ceb43e2ed0d4d9bfab20ac460598ed /roles/snap/tasks
parentpacman: output changed packages (diff)
downloadmaintenance-d019f5b071deccd45a2d5ba2364a4d8f55b93df9.tar.gz
maintenance-d019f5b071deccd45a2d5ba2364a4d8f55b93df9.zip
roles: add "failed_when: no" where needs be
Diffstat (limited to 'roles/snap/tasks')
-rw-r--r--roles/snap/tasks/main.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/snap/tasks/main.yml b/roles/snap/tasks/main.yml
index ea0f557..0f899a8 100644
--- a/roles/snap/tasks/main.yml
+++ b/roles/snap/tasks/main.yml
@@ -13,6 +13,7 @@
chdir: /etc
register: git_status
changed_when: no
+ failed_when: no
- name: All changes are snap changes
shell: git status --porcelain=v1 | cut -c 4- | grep -G -v '^systemd/system/' | grep -G -v '/snap\.\|snap-'
@@ -20,7 +21,7 @@
chdir: /etc
register: only_snap
changed_when: no
- ignore_errors: yes
+ failed_when: no
- name: Commit snap changes
command: etckeeper commit 'after snap run'