소스 검색

Run the init playbooks to properly set vars

Eduardo Minguez Perez 6 년 전
부모
커밋
fd1152908b
2개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      playbooks/openstack/openshift-cluster/build_image.yml
  2. 3 0
      playbooks/openstack/openshift-cluster/install.yml

+ 2 - 0
playbooks/openstack/openshift-cluster/build_image.yml

@@ -137,6 +137,8 @@
       - cloud-init
       - cloud-init
       - cloud-utils-growpart
       - cloud-utils-growpart
 
 
+- name: run the init
+  import_playbook: ../../init/main.yml
 
 
 # This is the part that installs all of the software and configs for the instance
 # This is the part that installs all of the software and configs for the instance
 # to become a node.
 # to become a node.

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

@@ -13,6 +13,9 @@
 
 
 - import_playbook: ../../prerequisites.yml
 - import_playbook: ../../prerequisites.yml
 
 
+- name: Run the init
+  import_playbook: ../../init/main.yml
+
 - name: Prepare the Nodes in the cluster for installation
 - name: Prepare the Nodes in the cluster for installation
   any_errors_fatal: true
   any_errors_fatal: true
   hosts: oo_all_hosts
   hosts: oo_all_hosts