Rewrite futureparser group in diff-friendly way

Change-Id: I5ccdc2398cb5e9090b18e72056b56beb21132ca4
This commit is contained in:
Colleen Murphy 2018-09-10 19:34:55 +02:00
parent 2348444327
commit f2768d69c0

View File

@ -15,7 +15,23 @@ groups:
etherpad: inventory_hostname.startswith('etherpad') etherpad: inventory_hostname.startswith('etherpad')
files: inventory_hostname.startswith('files') files: inventory_hostname.startswith('files')
firehose: inventory_hostname.startswith('firehose') firehose: inventory_hostname.startswith('firehose')
futureparser: inventory_hostname is match('(review\d*|review-dev\d*|groups\d*|groups-dev\d*|grafana\d*|health\d*|graphite\d*|paste\d*|planet\d*|ethercalc\d*|etherpad\d*|etherpad-dev\d*|logstash-worker\d+|firehose\d+|ask-staging\d*|codesearch\d*)\.openstack\.org') 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('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('ask-staging\d*\.openstack\.org') or
inventory_hostname is match('codesearch\d*\.openstack\.org')
gerrit: inventory_hostname is match('review.*\.openstack\.org') gerrit: inventory_hostname is match('review.*\.openstack\.org')
git-loadbalancer: inventory_hostname is match('git(-fe\d+)?\.openstack\.org') git-loadbalancer: inventory_hostname is match('git(-fe\d+)?\.openstack\.org')
git-server: inventory_hostname is match('git\d+\.openstack\.org') git-server: inventory_hostname is match('git\d+\.openstack\.org')