ansible: Change all our group names from foo-bar to foo_bar or foo-bar-baz to foo_bar_baz

In ansible 2.8 the - character isn't supposed to be valid in group names.
While we could override this, might has well just bite the bullet and change it.
So, just switch all group names to use _ instead of -

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-05-20 17:36:07 +00:00
parent 9766327633
commit 4b31ac5152
303 changed files with 646 additions and 646 deletions

View file

@ -11,7 +11,7 @@ def invert_fedmsg_policy(groups, vars, env):
if env == 'staging':
hosts = groups['all'] + groups['staging'] + groups['fedmsg-qa-network-stg'] + groups['openshift-pseudohosts-stg']
else:
hosts = [h for h in groups['all'] if h not in groups['staging'] + groups['openshift-pseudohosts-stg']]
hosts = [h for h in groups['all'] if h not in groups['staging'] + groups['openshift_pseudohosts_stg']]
inverted = {}
for host in hosts: