From b87109ff07443670a0c9ad0ab8ddfda548fa16c5 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 25 Feb 2021 02:59:50 +0100 Subject: Some changes of syntactic sugar for Ansible 3.9 compatibility --- roles/ands_openshift/tasks/users_resources.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/ands_openshift/tasks/users_resources.yml') diff --git a/roles/ands_openshift/tasks/users_resources.yml b/roles/ands_openshift/tasks/users_resources.yml index 2a73cd0..3552ce1 100644 --- a/roles/ands_openshift/tasks/users_resources.yml +++ b/roles/ands_openshift/tasks/users_resources.yml @@ -20,7 +20,7 @@ - name: Find removed users set_fact: removed_users="{{ results.stdout | from_json | json_query('items[*].metadata.name') | difference(ands_openshift_users.keys()) }}" - when: (results | succeeded) + when: results is succeeded - name: Remove user authentication command: "oc delete identity htpasswd_auth:{{ item }}" -- cgit v1.2.3