Explorar o código

Set openshift.common.hostname early in playbook execution.

Andrew Butcher %!s(int64=9) %!d(string=hai) anos
pai
achega
a939f5c518
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      playbooks/common/openshift-cluster/initialize_facts.yml

+ 4 - 1
playbooks/common/openshift-cluster/initialize_facts.yml

@@ -1,7 +1,10 @@
 ---
 - name: Initialize host facts
-  hosts: OSEv3
+  hosts: oo_all_hosts
   roles:
   - openshift_facts
   tasks:
   - openshift_facts:
+      role: common
+      local_facts:
+        hostname: "{{ openshift_hostname | default(None) }}"