system-config/inventory/groups.yaml

81 lines
5.4 KiB
YAML

plugin: constructed
groups:
adns: inventory_hostname.startswith('adns')
afs: inventory_hostname is match('afs\d+.*openstack.org')
afs-client: inventory_hostname is match('(review-dev\d*|mirror\d*\..*|files\d*|ze\d+|afsdb.*|afs.*\..*)\.openstack\.org')
afsadmin: inventory_hostname is match('mirror-update\d+\.openstack\.org')
afsdb: inventory_hostname is match('afsdb.*openstack.org')
ask: inventory_hostname.startswith('ask')
cacti: inventory_hostname is match('cacti\d+\.openstack\.org')
ci-backup: inventory_hostname is match('backup\d+.*\ci\.openstack\.org')
disabled: inventory_hostname.startswith('backup') or inventory_hostname.startswith('wiki') or inventory_hostname.startswith('puppetmaster') or inventory_hostname in ['ask-staging01.openstack.org', 'mirror01.sto2.citycloud.openstack.org', 'ask-staging.openstack.org', 'review.openstack.org']
eavesdrop: inventory_hostname.startswith('eavesdrop')
elasticsearch: inventory_hostname is match('elasticsearch0[1-7]\.openstack\.org')
ethercalc: inventory_hostname.startswith('ethercalc')
etherpad: inventory_hostname is match('etherpad\d*\.openstack\.org')
etherpad-dev: inventory_hostname is match('etherpad-dev\d*\.openstack\.org')
files: inventory_hostname.startswith('files')
firehose: inventory_hostname.startswith('firehose')
futureparser: >
inventory_hostname is match('review\d*\.openstack\.org') or
inventory_hostname is match('review-dev\d*\.openstack\.org') or
inventory_hostname is match('groups\d*\.openstack\.org') or
inventory_hostname is match('groups-dev\d*\.openstack\.org') or
inventory_hostname is match('grafana\d*\.openstack\.org') or
inventory_hostname is match('health\d*\.openstack\.org') or
inventory_hostname is match('cacti\d+\.openstack\.org') or
inventory_hostname is match('graphite\d*\.openstack\.org') or
inventory_hostname is match('paste\d*\.openstack\.org') or
inventory_hostname is match('planet\d*\.openstack\.org') or
inventory_hostname is match('ethercalc\d*\.openstack\.org') or
inventory_hostname is match('etherpad\d*\.openstack\.org') or
inventory_hostname is match('etherpad-dev\d*\.openstack\.org') or
inventory_hostname is match('logstash-worker\d+\.openstack\.org') or
inventory_hostname is match('firehose\d+\.openstack\.org') or
inventory_hostname is match('storyboard\d*\.openstack\.org') or
inventory_hostname is match('storyboard-dev\d*\.openstack\.org') or
inventory_hostname is match('static\d*\.openstack\.org') or
inventory_hostname is match('status\d*\.openstack\.org') or
inventory_hostname is match('pbx\.openstack\.org') or
inventory_hostname is match('ask-staging\d*\.openstack\.org') or
inventory_hostname is match('translate\d+\.openstack\.org') or
inventory_hostname is match('translate-dev\d*\.openstack\.org') or
inventory_hostname is match('codesearch\d*\.openstack\.org')
gerrit: inventory_hostname is match('review.*\.openstack\.org')
git-loadbalancer: inventory_hostname is match('git(-fe\d+)?\.openstack\.org')
git-server: inventory_hostname is match('git\d+\.openstack\.org')
grafana: inventory_hostname.startswith('grafana')
graphite: inventory_hostname.startswith('graphite')
groups: inventory_hostname is match('groups(-dev)?\d*\.openstack\.org')
health: inventory_hostname.startswith('health')
kdc: inventory_hostname.startswith('kdc')
logstash: inventory_hostname is match('logstash\d*\.openstack\.org')
logstash-worker: inventory_hostname.startswith('logstash-worker')
mailman: inventory_hostname.startswith('lists')
mirror: inventory_hostname is match('mirror\d*\..*\.openstack\.org')
nodepool: inventory_hostname is match('(nodepool|nb|nl)')
nodepool-builder: inventory_hostname is match('nb\d*\.openstack\.org')
nodepool-launcher: inventory_hostname is match('nl\d*\.openstack\.org')
ns: inventory_hostname.startswith('ns')
paste: inventory_hostname.startswith('paste')
pbx: inventory_hostname.startswith('pbx')
puppet: not (inventory_hostname.startswith('bridge') or inventory_hostname.startswith('bionic'))
refstack: inventory_hostname.startswith('refstack')
review-dev: inventory_hostname is match('review-dev\d+\.openstack\.org')
review: inventory_hostname is match('review\d+\.openstack\.org')
static: inventory_hostname.startswith('static')
status: inventory_hostname.startswith('status')
storyboard: inventory_hostname.startswith('storyboard')
storyboard-dev: inventory_hostname is match('storyboard-dev\d*\.openstack\.org')
subunit-worker: inventory_hostname.startswith('subunit-worker')
survey: inventory_hostname.startswith('survey')
translate-dev: inventory_hostname is match('translate-dev\d+\.openstack\.org')
translate: inventory_hostname is match('translate\d+\.openstack\.org')
webservers: inventory_hostname is match('(grafana\d*|health\d*|graphite\d*|groups\d*|groups-dev\d*|eavesdrop\d*|paste\d*|ethercalc\d+|etherpad\d*|etherpad-dev\d*|files\d*|refstack\d*|static\d*|status\d*|survey\d+|nodepool|nl\d+|nb\d+|zm\d+|ask|ask-staging|translate.*|codesearch\d*|cacti\d+|wiki.*|storyboard.*|openstackid-dev|planet\d*)\.openstack\.org|openstackid.org')
wiki-dev: inventory_hostname is match('wiki-dev\d+\.openstack\.org')
wiki: inventory_hostname is match('wiki\d+\.openstack\.org')
zookeeper: inventory_hostname.startswith('zk')
zuul-executor: inventory_hostname.startswith('ze')
zuul-merger: inventory_hostname is match('z[lm](static)?\d+\.openstack\.org')
zuul-scheduler: inventory_hostname.startswith('zuul')