Przeglądaj źródła

Remove delegate_to from openshift_facts within the openshift_ca role.

Andrew Butcher 7 lat temu
rodzic
commit
be0ffa2611
1 zmienionych plików z 1 dodań i 3 usunięć
  1. 1 3
      roles/openshift_ca/tasks/main.yml

+ 1 - 3
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: