summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2017-11-01 14:51:26 -0400
committerAndrew Butcher <abutcher@redhat.com>2017-11-01 14:51:26 -0400
commitbe0ffa2611bddba6b1815cf8982b485979282507 (patch)
tree341472c1781f2ba6b68c185520d4d563f5853144 /roles
parentecc37050ebd06771349eae432747f64b04451bf5 (diff)
downloadopenshift-be0ffa2611bddba6b1815cf8982b485979282507.tar.gz
openshift-be0ffa2611bddba6b1815cf8982b485979282507.tar.bz2
openshift-be0ffa2611bddba6b1815cf8982b485979282507.tar.xz
openshift-be0ffa2611bddba6b1815cf8982b485979282507.zip
Remove delegate_to from openshift_facts within the openshift_ca role.
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_ca/tasks/main.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/roles/openshift_ca/tasks/main.yml b/roles/openshift_ca/tasks/main.yml
index 419679bc2..fad1ff5de 100644
--- a/roles/openshift_ca/tasks/main.yml
+++ b/roles/openshift_ca/tasks/main.yml
@@ -18,9 +18,7 @@
- name: Reload generated facts
openshift_facts:
- when: install_result | changed
- delegate_to: "{{ openshift_ca_host }}"
- run_once: true
+ when: hostvars[openshift_ca_host].install_result | changed
- name: Create openshift_ca_config_dir if it does not exist
file: