summaryrefslogtreecommitdiffstats
path: root/roles/openshift_resource/tasks/resource.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_resource/tasks/resource.yml')
-rw-r--r--roles/openshift_resource/tasks/resource.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_resource/tasks/resource.yml b/roles/openshift_resource/tasks/resource.yml
index 416f485..03420a9 100644
--- a/roles/openshift_resource/tasks/resource.yml
+++ b/roles/openshift_resource/tasks/resource.yml
@@ -13,7 +13,7 @@
command: "oc delete -n {{project}} {{rkind}}/{{rname}}"
register: rm_result
failed_when: false
- changed_when: (rm_result | succeeded)
+ changed_when: rm_result is succeeded
when: (recreate|default(false))
- name: "Populate resources defined in {{ template }} to {{project}} ({{ replace | default(false) | ternary('replace', 'create') }})"