
With split puppet master infrastructure ansible needs to be told which puppetmaster to talk to. Do this by making puppetmaster a required argument to the puppet ansible playbook. Since we can't rely on the cert listing while this is happening also add puppet master specific host list files which can be used to specify which hosts talk to which puppetmaster via the new ansible playbook feature. Change-Id: I412c2bd6cb390d00d1b9d0e4630e75776edabbb9
15 lines
411 B
YAML
15 lines
411 B
YAML
---
|
|
- hosts: git0*
|
|
gather_facts: false
|
|
max_fail_percentage: 1
|
|
roles:
|
|
- { role: puppet, puppetmaster: ci-puppetmaster.openstack.org }
|
|
- hosts: review.openstack.org
|
|
gather_facts: false
|
|
roles:
|
|
- { role: puppet, puppetmaster: ci-puppetmaster.openstack.org }
|
|
- hosts: "!review.openstack.org:!git0*"
|
|
gather_facts: false
|
|
roles:
|
|
- { role: puppet, puppetmaster: ci-puppetmaster.openstack.org }
|