summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2017-11-01 16:42:47 -0700
committerGitHub <noreply@github.com>2017-11-01 16:42:47 -0700
commit6b56e70cc4df60b228769ec257a6c5f77456084d (patch)
treec4df3f26ad62255efc403e019892c6fa4a703231 /roles
parentb74b78f37e01e1837843f236b51d3676174afdef (diff)
parentbe0ffa2611bddba6b1815cf8982b485979282507 (diff)
downloadopenshift-6b56e70cc4df60b228769ec257a6c5f77456084d.tar.gz
openshift-6b56e70cc4df60b228769ec257a6c5f77456084d.tar.bz2
openshift-6b56e70cc4df60b228769ec257a6c5f77456084d.tar.xz
openshift-6b56e70cc4df60b228769ec257a6c5f77456084d.zip
Merge pull request #5978 from abutcher/openshift-ca-facts
Automatic merge from submit-queue. Remove delegate_to from openshift_facts within the openshift_ca role. Just reload facts on all hosts when we've updated the base package on the first master. https://bugzilla.redhat.com/show_bug.cgi?id=1507083
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: