Fix the openshift/ipa-client role
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
e2ba0bc31a
commit
c9bd987c66
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@
|
||||||
template:
|
template:
|
||||||
src: "{{roles_path}}/openshift/ipa-client/templates/configmap.yml"
|
src: "{{roles_path}}/openshift/ipa-client/templates/configmap.yml"
|
||||||
dest: "/etc/openshift_apps/{{ipa_client_app}}/configmap-ipa-client.yml"
|
dest: "/etc/openshift_apps/{{ipa_client_app}}/configmap-ipa-client.yml"
|
||||||
register: ipa_client_configmap_template
|
register: ipa_config_result
|
||||||
|
|
||||||
- name: Call `oc apply` on the copied file
|
- 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
|
shell: oc -n {{ipa_client_app}} apply -f /etc/openshift_apps/{{ipa_client_app}}/configmap-ipa-client.yml
|
||||||
when: ipa_client_configmap_template.changed or ipa_client_configmap_template_fullpath.changed or object_file.changed
|
when: ipa_config_result.changed or object_always_apply
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue