Fix variable name conflict

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-12-03 12:12:09 +01:00
parent 14d05f0a9e
commit 1875a0a0dc
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -13,8 +13,8 @@
template:
src: "{{roles_path}}/openshift/ipa-client/templates/configmap.yml"
dest: "/etc/openshift_apps/{{ipa_client_app}}/configmap-ipa-client.yml"
register: object_template
register: ipa_client_configmap_template
- name: Call `oc apply` on the copied file
shell: oc -n {{ipa_client_app}} apply -f /etc/openshift_apps/{{ipa_client_app}}/configmap-ipa-client.yml
when: object_template.changed or object_template_fullpath.changed or object_file.changed
when: ipa_client_configmap_template.changed or ipa_client_configmap_template_fullpath.changed or object_file.changed