Monty Taylor 7699226007 Add script to make ansible groups from patterns
We have a set of hostname patterns which is not a thing that ansible
supports in inventory files. While we can put hostname patterns into
playbooks directly, that does not help us with copying hiera group files
since ansible doesn't know about the groups in site.pp and puppet
doesn't know about the ansible groups.

Instead, do a quick expansion any time the groups.txt file changes and
at the end of launch-node. It will be left to admins to run
expand-groups.sh whenever they delete a node.

Change-Id: I00c60748ddb2d35a3b98f78d828dabebcf065118
2016-01-15 12:13:00 -05:00

12 lines
427 B
Plaintext

jenkins jenkins.*\.openstack\.org
logstash-worker logstash-worker\d+\.openstack\.org
subunit-worker subunit-worker\d+\.openstack\.org
elasticsearch elasticsearch0[1-7]\.openstack\.org
git-loadbalancer git(-fe\d+)?\.openstack\.org
git-server git\d+\.openstack\.org
pypi pypi\..*\.openstack\.org
zuul-merger zm\d+\.openstack\.org
ci-backup ci-backup-.*\.openstack\.org
afsdb afsdb.*\.openstack\.org
afs afs.*\..*\.openstack\.org