浏览代码

Remove delegate_to from openshift_facts within the openshift_ca role.

Andrew Butcher 7 年之前
父节点
当前提交
be0ffa2611
共有 1 个文件被更改,包括 1 次插入3 次删除
  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: