mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Fix the openshift/ipa-client role
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
@@ -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: ipa_client_configmap_template
|
||||
register: ipa_config_result
|
||||
|
||||
- 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: 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
|
||||
|
||||
Reference in New Issue
Block a user