diff --git a/infrastructure-playbooks/purge-cluster.yml b/infrastructure-playbooks/purge-cluster.yml index d0685d894..55d2bc1f3 100644 --- a/infrastructure-playbooks/purge-cluster.yml +++ b/infrastructure-playbooks/purge-cluster.yml @@ -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: