Split infracloud baremetal into separate playbook run

Currently puppet fails to run on our baremetal servers for infracloud.
While this is an issue, it should not block puppet from running on our
controller or compute nodes.

Change-Id: I190af6cfc63006cb03686cd501998e4e06d350b1
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-04-24 11:35:45 -04:00
parent bd4426ba69
commit 6b6bb6c4a4
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
3 changed files with 6 additions and 4 deletions

View File

@ -1,8 +1,4 @@
--- ---
- hosts: "baremetal*.ic.openstack.org:!disabled"
gather_facts: true
roles:
- role: puppet
- hosts: "controller*.ic.openstack.org:!disabled" - hosts: "controller*.ic.openstack.org:!disabled"
gather_facts: true gather_facts: true
roles: roles:

View File

@ -0,0 +1,5 @@
---
- hosts: "baremetal*.ic.openstack.org:!disabled"
gather_facts: true
roles:
- role: puppet

View File

@ -30,4 +30,5 @@ set +e
# Run all the ansible playbooks under timeout to prevent them from getting # Run all the ansible playbooks under timeout to prevent them from getting
# stuck if they are oomkilled # stuck if they are oomkilled
timeout -k 2m 120m ansible-playbook -f 10 ${ANSIBLE_PLAYBOOKS}/remote_puppet_infracloud_baremetal.yaml
timeout -k 2m 120m ansible-playbook -f 10 ${ANSIBLE_PLAYBOOKS}/remote_puppet_infracloud.yaml timeout -k 2m 120m ansible-playbook -f 10 ${ANSIBLE_PLAYBOOKS}/remote_puppet_infracloud.yaml