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/storage_resources.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/ands_openshift/tasks/storage_resources.yml') diff --git a/roles/ands_openshift/tasks/storage_resources.yml b/roles/ands_openshift/tasks/storage_resources.yml index c83c677..3b051d8 100644 --- a/roles/ands_openshift/tasks/storage_resources.yml +++ b/roles/ands_openshift/tasks/storage_resources.yml @@ -12,7 +12,7 @@ template: gfs-svc.yml template_path: "{{ storage_template_path }}" project: "{{ prj_item }}" - recreate: "{{ result | changed | ternary (true, false) }}" + recreate: "{{ result is changed | ternary (true, false) }}" with_items: "{{ ands_openshift_projects.keys() }}" loop_control: loop_var: prj_item @@ -27,7 +27,7 @@ template: gfs-ep.yml template_path: "{{ storage_template_path }}" project: "{{ prj_item }}" - recreate: "{{ result | changed | ternary (true, false) }}" + recreate: "{{ result is changed | ternary (true, false) }}" with_items: "{{ ands_openshift_projects.keys() }}" loop_control: loop_var: prj_item -- cgit v1.2.3