Add some in-tree ansible group vars
As we're using these roles, we'll want to pass potentially different values to different of our hosts over time. For instance, we may want to set the jenkins servers to start using puppet apply before we get all the hosts there. Since we run most of the hosts in a big matching mechanism, the way we can pass different input values to each host. Change-Id: I5698355df0c13cd11fe5987787e65ee85a384256
This commit is contained in:
parent
d039a62045
commit
1e862a9ade
1
playbooks/group_vars/all.yaml
Normal file
1
playbooks/group_vars/all.yaml
Normal file
@ -0,0 +1 @@
|
||||
puppetmaster: puppetmaster.openstack.org
|
@ -2,4 +2,4 @@
|
||||
- hosts: "afs*"
|
||||
gather_facts: false
|
||||
roles:
|
||||
- { role: puppet, puppetmaster: puppetmaster.openstack.org }
|
||||
- role: puppet
|
||||
|
@ -1,5 +1,4 @@
|
||||
---
|
||||
- hosts: "!review.openstack.org:!git0*:!afs*"
|
||||
- hosts: '!review.openstack.org:!git0*:!afs*'
|
||||
gather_facts: false
|
||||
roles:
|
||||
- { role: puppet, puppetmaster: puppetmaster.openstack.org }
|
||||
- role: puppet
|
||||
|
@ -12,13 +12,11 @@
|
||||
max_fail_percentage: 1
|
||||
roles:
|
||||
- role: puppet
|
||||
puppetmaster: puppetmaster.openstack.org
|
||||
facts:
|
||||
project_config_ref: "{{ hostvars.localhost.gitinfo.after }}"
|
||||
- hosts: review.openstack.org
|
||||
gather_facts: false
|
||||
roles:
|
||||
- role: puppet
|
||||
puppetmaster: puppetmaster.openstack.org
|
||||
facts:
|
||||
project_config_ref: "{{ hostvars.localhost.gitinfo.after }}"
|
||||
|
Loading…
Reference in New Issue
Block a user