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:
parent
9766327633
commit
4b31ac5152
303 changed files with 646 additions and 646 deletions
|
@ -99,7 +99,7 @@
|
|||
with_items:
|
||||
- /root/.ssh/known_hosts
|
||||
- /etc/ssh/ssh_known_hosts
|
||||
when: inventory_hostname not in result.list_vms and inventory_hostname in groups['osbs-masters-stg']+groups['osbs-nodes-stg']
|
||||
when: inventory_hostname not in result.list_vms and inventory_hostname in groups['osbs_masters_stg']+groups['osbs_nodes_stg']
|
||||
delegate_to: osbs-control01.stg.phx2.fedoraproject.org
|
||||
|
||||
- name: (osbs-control01) make sure there is no old ssh host key for the host still around
|
||||
|
@ -108,7 +108,7 @@
|
|||
with_items:
|
||||
- /root/.ssh/known_hosts
|
||||
- /etc/ssh/ssh_known_hosts
|
||||
when: inventory_hostname not in result.list_vms and inventory_hostname in groups['osbs-masters']+groups['osbs-nodes']
|
||||
when: inventory_hostname not in result.list_vms and inventory_hostname in groups['osbs_masters']+groups['osbs_nodes']
|
||||
delegate_to: osbs-control01.phx2.fedoraproject.org
|
||||
|
||||
- name: wait for ssh on the vm to start back
|
||||
|
@ -134,7 +134,7 @@
|
|||
with_items:
|
||||
- /root/.ssh/known_hosts
|
||||
- /etc/ssh/ssh_known_hosts
|
||||
when: inventory_hostname not in result.list_vms and inventory_hostname in groups['osbs-masters-stg']+groups['osbs-nodes-stg']
|
||||
when: inventory_hostname not in result.list_vms and inventory_hostname in groups['osbs_masters_stg']+groups['osbs_nodes_stg']
|
||||
delegate_to: osbs-control01.stg.phx2.fedoraproject.org
|
||||
|
||||
- name: (osbs-control01) add new ssh host key
|
||||
|
@ -143,6 +143,6 @@
|
|||
with_items:
|
||||
- /root/.ssh/known_hosts
|
||||
- /etc/ssh/ssh_known_hosts
|
||||
when: inventory_hostname not in result.list_vms and inventory_hostname in groups['osbs-masters']+groups['osbs-nodes']
|
||||
when: inventory_hostname not in result.list_vms and inventory_hostname in groups['osbs_masters']+groups['osbs_nodes']
|
||||
delegate_to: osbs-control01.phx2.fedoraproject.org
|
||||
|
||||
|
|
|
@ -121,7 +121,7 @@
|
|||
|
||||
- name: add infrastructure tags repo - Fedora
|
||||
copy: src="{{ files }}/common/fedora-infra-tags.repo" dest="/etc/yum.repos.d/infra-tags.repo"
|
||||
when: ansible_distribution == 'Fedora' and inventory_hostname not in groups['maintainer-test']
|
||||
when: ansible_distribution == 'Fedora' and inventory_hostname not in groups['maintainer_test']
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue