aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/cleanup/tasks/remove_package.yaml
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-08-18 12:04:27 +0000
committerpmikus <pmikus@cisco.com>2021-08-18 12:04:27 +0000
commitd41a5490f30a161561c39c4f1b08add17b9cf6f7 (patch)
tree4244f8492f66f5ba1afe1c85c3a55340b125c8f7 /fdio.infra.ansible/roles/cleanup/tasks/remove_package.yaml
parenta24c98b45ca1e9d56039d7649f65ac31e006d949 (diff)
Infra: Ansible yaml lint cleanup
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: If00b376bd78b7b603d7887c1e149e7dccdb6d217
Diffstat (limited to 'fdio.infra.ansible/roles/cleanup/tasks/remove_package.yaml')
-rw-r--r--fdio.infra.ansible/roles/cleanup/tasks/remove_package.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/fdio.infra.ansible/roles/cleanup/tasks/remove_package.yaml b/fdio.infra.ansible/roles/cleanup/tasks/remove_package.yaml
index 302b43c99a..484868e595 100644
--- a/fdio.infra.ansible/roles/cleanup/tasks/remove_package.yaml
+++ b/fdio.infra.ansible/roles/cleanup/tasks/remove_package.yaml
@@ -11,10 +11,10 @@
- name: Remove Package - {{ package }}
apt:
name: "{{ package }}"
- force: yes
- purge: yes
+ force: true
+ purge: true
state: "absent"
- failed_when: no
+ failed_when: false
when:
- ansible_distribution == 'Ubuntu'
tags: