Browse Source

Run the init/main playbook properly

Related to #10460 #10420 and #10022
Eduardo Minguez Perez 6 năm trước cách đây
mục cha
commit
55df92ec1b

+ 3 - 3
playbooks/openstack/openshift-cluster/install.yml

@@ -8,14 +8,14 @@
 # values here. We do it in the OSEv3 group vars. Do we need to add
 # some logic here?
 
+- name: Run the init
+  import_playbook: ../../init/main.yml
+
 - name: Evaluate basic OpenStack groups
   import_playbook: evaluate_groups.yml
 
 - import_playbook: ../../prerequisites.yml
 
-- name: Run the init
-  import_playbook: ../../init/main.yml
-
 - name: Prepare the Nodes in the cluster for installation
   any_errors_fatal: true
   hosts: oo_all_hosts

+ 3 - 1
playbooks/openstack/openshift-cluster/provision.yml

@@ -2,7 +2,6 @@
 - name: Create the OpenStack resources for cluster installation
   import_playbook: provision_resources.yml
 
-
 - name: Evaluate OpenStack groups from the dynamic inventory
   import_playbook: evaluate_groups.yml
 
@@ -43,6 +42,9 @@
 
 - import_playbook: ../../init/basic_facts.yml
 
+- name: Run the init
+  import_playbook: ../../init/main.yml
+
 - name: Optionally subscribe the RHEL nodes
   any_errors_fatal: true
   hosts: oo_all_hosts