Fix variable name conflict
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
14d05f0a9e
commit
1875a0a0dc
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue