Commit 2011e4db authored by Guillaume Abrioux's avatar Guillaume Abrioux
Browse files

lint: don't compare to literal true/false



Fix ansible lint 601 error:

[601] Don't compare to literal True/False
Signed-off-by: default avatarGuillaume Abrioux <gabrioux@redhat.com>
parent 9fba6eec
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment