Add infracloud playbook
Add separate playbook for infacloud nodes to ensure they run in the correct order - baremetal -> controller -> compute. Baremetal is intentionally left out, it is not ready yet. All 'disabled' flags on infracloud hosts are turned off. This patch landing turns on management of the infracloud. Co-Authored-By: Yolanda Robla <info@ysoft.biz> Co-Authored-By: Spencer Krum <nibz@spencerkrum.com> Change-Id: Ieeda072d45f7454d6412295c2c6a0cf7ce61d952
This commit is contained in:
parent
a3fdd56c1e
commit
32f956f268
@ -1,7 +1,3 @@
|
||||
# this disables infracloud until we are ready
|
||||
[disabled:children]
|
||||
infracloud
|
||||
|
||||
[infracloud]
|
||||
controller00.hpuswest.ic.openstack.org
|
||||
compute000.hpuswest.ic.openstack.org
|
||||
@ -49,3 +45,5 @@ compute038.hpuswest.ic.openstack.org
|
||||
compute041.hpuswest.ic.openstack.org
|
||||
compute042.hpuswest.ic.openstack.org
|
||||
compute043.hpuswest.ic.openstack.org
|
||||
|
||||
#TODO Add baremetal controller host here
|
||||
|
@ -1,4 +1,4 @@
|
||||
- hosts: '!review.openstack.org:!git0*:!afs*:!puppetmaster*:!disabled'
|
||||
- hosts: '!review.openstack.org:!git0*:!afs*:!baremetal*:!controller:!compute:!puppetmaster*:!disabled'
|
||||
gather_facts: true
|
||||
roles:
|
||||
- role: puppet
|
||||
|
10
playbooks/remote_puppet_infracloud.yaml
Normal file
10
playbooks/remote_puppet_infracloud.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
# TODO add baremetal controller here
|
||||
- hosts: "controller*.ic.openstack.org:!disabled"
|
||||
gather_facts: true
|
||||
roles:
|
||||
- role: puppet
|
||||
- hosts: "compute*.ic.openstack.org:!disabled"
|
||||
gather_facts: true
|
||||
roles:
|
||||
- role: puppet
|
@ -34,5 +34,6 @@ ansible-playbook -f 10 ${ANSIBLE_PLAYBOOKS}/remote_puppet_git.yaml
|
||||
# Run AFS changes separately so we can make sure to only do one at a time
|
||||
# (turns out quorum is nice to have)
|
||||
ansible-playbook -f 1 ${ANSIBLE_PLAYBOOKS}/remote_puppet_afs.yaml
|
||||
ansible-playbook -f 10 ${ANSIBLE_PLAYBOOKS}/remote_puppet_infracloud.yaml
|
||||
# Run everything else. We do not care if the other things worked
|
||||
ansible-playbook -f 20 ${ANSIBLE_PLAYBOOKS}/remote_puppet_else.yaml
|
||||
|
Loading…
Reference in New Issue
Block a user