lint: don't compare to literal true/false

Fix ansible lint 601 error:

[601] Don't compare to literal True/False

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/6060/head
Guillaume Abrioux 2020-10-02 13:32:51 +02:00
parent 9fba6eecfa
commit 2011e4dbc8
1 changed files with 3 additions and 3 deletions

View File

@ -791,7 +791,7 @@
state: absent
when:
- ansible_pkg_mgr == 'yum'
- purge_all_packages == true
- purge_all_packages | bool
- name: purge extra packages with dnf
dnf:
@ -799,7 +799,7 @@
state: absent
when:
- ansible_pkg_mgr == 'dnf'
- purge_all_packages == true
- purge_all_packages | bool
- name: purge extra packages with apt
apt:
@ -807,7 +807,7 @@
state: absent
when:
- ansible_pkg_mgr == 'apt'
- purge_all_packages == true
- purge_all_packages | bool
- name: remove config and any ceph socket left
file: