From 2a0e07cfd748fd14e57922b18fb2026ea057a859 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Fri, 2 Oct 2020 13:32:51 +0200 Subject: [PATCH] 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 (cherry picked from commit 2011e4dbc8e4c90dfb60ecd4c59325782d95986c) --- infrastructure-playbooks/purge-cluster.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/infrastructure-playbooks/purge-cluster.yml b/infrastructure-playbooks/purge-cluster.yml index 8f503a54e..ceae1dbf9 100644 --- a/infrastructure-playbooks/purge-cluster.yml +++ b/infrastructure-playbooks/purge-cluster.yml @@ -788,7 +788,7 @@ state: absent when: - ansible_pkg_mgr == 'yum' - - purge_all_packages == true + - purge_all_packages | bool - name: purge extra packages with dnf dnf: @@ -796,7 +796,7 @@ state: absent when: - ansible_pkg_mgr == 'dnf' - - purge_all_packages == true + - purge_all_packages | bool - name: purge extra packages with apt apt: @@ -804,7 +804,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: -- 2.47.3