mirror of https://github.com/ceph/ceph-ansible.git
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
parent
9fba6eecfa
commit
2011e4dbc8
|
@ -791,7 +791,7 @@
|
||||||
state: absent
|
state: absent
|
||||||
when:
|
when:
|
||||||
- ansible_pkg_mgr == 'yum'
|
- ansible_pkg_mgr == 'yum'
|
||||||
- purge_all_packages == true
|
- purge_all_packages | bool
|
||||||
|
|
||||||
- name: purge extra packages with dnf
|
- name: purge extra packages with dnf
|
||||||
dnf:
|
dnf:
|
||||||
|
@ -799,7 +799,7 @@
|
||||||
state: absent
|
state: absent
|
||||||
when:
|
when:
|
||||||
- ansible_pkg_mgr == 'dnf'
|
- ansible_pkg_mgr == 'dnf'
|
||||||
- purge_all_packages == true
|
- purge_all_packages | bool
|
||||||
|
|
||||||
- name: purge extra packages with apt
|
- name: purge extra packages with apt
|
||||||
apt:
|
apt:
|
||||||
|
@ -807,7 +807,7 @@
|
||||||
state: absent
|
state: absent
|
||||||
when:
|
when:
|
||||||
- ansible_pkg_mgr == 'apt'
|
- ansible_pkg_mgr == 'apt'
|
||||||
- purge_all_packages == true
|
- purge_all_packages | bool
|
||||||
|
|
||||||
- name: remove config and any ceph socket left
|
- name: remove config and any ceph socket left
|
||||||
file:
|
file:
|
||||||
|
|
Loading…
Reference in New Issue