From d019f5b071deccd45a2d5ba2364a4d8f55b93df9 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 10 Aug 2021 20:53:59 +0300 Subject: roles: add "failed_when: no" where needs be --- roles/pacman/tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'roles/pacman') diff --git a/roles/pacman/tasks/main.yml b/roles/pacman/tasks/main.yml index 37885f3..2d099d5 100644 --- a/roles/pacman/tasks/main.yml +++ b/roles/pacman/tasks/main.yml @@ -31,6 +31,7 @@ chdir: /etc register: git_status changed_when: no + failed_when: no - fail: msg: Upgrading packages failed for an unknown reason! @@ -42,7 +43,7 @@ chdir: /etc register: only_gnupg changed_when: no - ignore_errors: yes + failed_when: no - name: Commit pacman.d/gnupg command: | -- cgit v1.2.3