Ian Wienand 526a423dd2 Add unittest for yamlgroup inventory plugin
This mocks out enough of the Ansible inventory framework so we can
test the group matching against a range of corner cases as present in
the results.yaml file.

Change-Id: I05114d9aae6f149122da20f239c8b3546bc140bc
2018-11-02 08:20:02 +11:00

62 lines
937 B
YAML

# This is a dictionary of hosts, with a list of what
# groups they should be in
results:
adns1.openstack.org:
- adns
- puppet
afs01.dfw.openstack.org:
- afs
- afs-client
- puppet
firehose01.openstack.org:
- firehose
- futureparser
- puppet
graphite.openstack.org:
- graphite
- puppet
- webservers
lists.katacontainers.io:
- mailman
- puppet
logstash-worker02.openstack.org:
- futureparser
- logstash-worker
- puppet
mirror02.dfw.rax.openstack.org:
- afs-client
- mirror
- puppet
- webservers
mirror-update01.openstack.org:
- afsadmin
- puppet
review.openstack.org:
- disabled
- gerrit
- puppet
nb01.openstack.org:
- nodepool
- nodepool-builder
- puppet
- webservers
ze01.openstack.org:
- afs-client
- puppet
- zuul-executor
zk01.openstack.org:
- puppet
- zookeeper