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:
Monty Taylor 2015-03-11 13:04:42 -04:00
parent d039a62045
commit 1e862a9ade
4 changed files with 4 additions and 6 deletions

View File

@ -0,0 +1 @@
puppetmaster: puppetmaster.openstack.org

View File

@ -2,4 +2,4 @@
- hosts: "afs*"
gather_facts: false
roles:
- { role: puppet, puppetmaster: puppetmaster.openstack.org }
- role: puppet

View File

@ -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

View File

@ -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 }}"