Parcourir la source

Set openshift.common.hostname early in playbook execution.

Andrew Butcher il y a 9 ans
Parent
commit
a939f5c518
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  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) }}"