diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-08-09 10:32:03 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-08-09 10:32:03 +0300 |
commit | 704e6363cff8fb390459849984177c2daf7a73a6 (patch) | |
tree | 70832881f93003280922b2cbb1d940441c11d99a | |
parent | add GitHub Actions workflow (diff) | |
download | maintenance-704e6363cff8fb390459849984177c2daf7a73a6.tar.gz maintenance-704e6363cff8fb390459849984177c2daf7a73a6.zip |
add "failed_when: no" where appropriate
-rw-r--r-- | roles/apt/tasks/main.yml | 1 | ||||
-rw-r--r-- | roles/docker/tasks/main.yml | 1 | ||||
-rw-r--r-- | roles/flatpak/tasks/main.yml | 1 | ||||
-rw-r--r-- | roles/pacman/tasks/main.yml | 1 | ||||
-rw-r--r-- | roles/snap/tasks/main.yml | 1 | ||||
-rw-r--r-- | roles/vagrant/tasks/main.yml | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/roles/apt/tasks/main.yml b/roles/apt/tasks/main.yml index dd56a43..8758fce 100644 --- a/roles/apt/tasks/main.yml +++ b/roles/apt/tasks/main.yml @@ -2,6 +2,7 @@ command: apt-get --version register: apt_version changed_when: no + failed_when: no ignore_errors: yes - when: apt_version.rc == 0 diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml index 2b0d508..5f6a35f 100644 --- a/roles/docker/tasks/main.yml +++ b/roles/docker/tasks/main.yml @@ -2,6 +2,7 @@ command: docker --version register: docker_version changed_when: no + failed_when: no ignore_errors: yes - name: Clean up Docker data diff --git a/roles/flatpak/tasks/main.yml b/roles/flatpak/tasks/main.yml index 80a84ff..1b51c5d 100644 --- a/roles/flatpak/tasks/main.yml +++ b/roles/flatpak/tasks/main.yml @@ -2,6 +2,7 @@ command: flatpak --version register: flatpak_version changed_when: no + failed_when: no ignore_errors: yes - when: flatpak_version.rc == 0 diff --git a/roles/pacman/tasks/main.yml b/roles/pacman/tasks/main.yml index 8e20aa5..64f2e4b 100644 --- a/roles/pacman/tasks/main.yml +++ b/roles/pacman/tasks/main.yml @@ -2,6 +2,7 @@ command: pacman --version register: pacman_version changed_when: no + failed_when: no ignore_errors: yes - when: pacman_version.rc == 0 diff --git a/roles/snap/tasks/main.yml b/roles/snap/tasks/main.yml index 78a9afd..0be58cf 100644 --- a/roles/snap/tasks/main.yml +++ b/roles/snap/tasks/main.yml @@ -2,6 +2,7 @@ command: snap --version register: snap_version changed_when: no + failed_when: no ignore_errors: yes - become: yes diff --git a/roles/vagrant/tasks/main.yml b/roles/vagrant/tasks/main.yml index f0efdbf..52951e1 100644 --- a/roles/vagrant/tasks/main.yml +++ b/roles/vagrant/tasks/main.yml @@ -2,6 +2,7 @@ command: vagrant --version register: vagrant_version changed_when: no + failed_when: no ignore_errors: yes - when: vagrant_version.rc == 0 |