Add buildhw eth config info, blacklist some groups and tweak when statement
This commit is contained in:
parent
0231ec6cf7
commit
f105bfd616
15 changed files with 51 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
host_group: kojibuilder
|
||||
fas_client_groups: sysadmin-releng
|
||||
sudoers: "{{ private }}/files/sudo/releng-sudoers"
|
||||
ansible_ifcfg_blacklist: true
|
||||
|
||||
koji_server_url: "http://koji.fedoraproject.org/kojihub"
|
||||
koji_weburl: "http:/koji.fedoraproject.org/koji"
|
||||
|
|
|
@ -5,6 +5,7 @@ rsyncd_conf: "rsyncd.conf.download-{{ datacenter }}"
|
|||
nrpe_procs_warn: 900
|
||||
nrpe_procs_crit: 1000
|
||||
virt_install_command: "{{ virt_install_command_rhel6 }}"
|
||||
ansible_ifcfg_blacklist: true
|
||||
|
||||
# nfs mount options, overrides the all/default
|
||||
nfs_mount_opts: "ro,hard,bg,intr,noatime,nodev,nosuid,actimeo=600,nfsvers=3"
|
||||
|
|
|
@ -5,3 +5,7 @@
|
|||
# compose channel that need a rw mount
|
||||
|
||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=3"
|
||||
|
||||
gw: 10.5.125.254
|
||||
eth0_ip: 10.5.125.94
|
||||
eth1_ip: 10.5.127.154
|
||||
|
|
4
inventory/host_vars/buildhw-02.phx2.fedoraproject.org
Normal file
4
inventory/host_vars/buildhw-02.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
gw: 10.5.125.254
|
||||
eth0_ip: 10.5.125.93
|
||||
eth1_ip: 10.5.127.153
|
4
inventory/host_vars/buildhw-03.phx2.fedoraproject.org
Normal file
4
inventory/host_vars/buildhw-03.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
gw: 10.5.125.254
|
||||
eth0_ip: 10.5.125.97
|
||||
eth1_ip: 10.5.127.157
|
4
inventory/host_vars/buildhw-04.phx2.fedoraproject.org
Normal file
4
inventory/host_vars/buildhw-04.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
gw: 10.5.125.254
|
||||
eth0_ip: 10.5.125.95
|
||||
eth1_ip: 10.5.127.155
|
4
inventory/host_vars/buildhw-05.phx2.fedoraproject.org
Normal file
4
inventory/host_vars/buildhw-05.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
gw: 10.5.125.254
|
||||
eth0_ip: 10.5.125.96
|
||||
eth1_ip: 10.5.127.156
|
4
inventory/host_vars/buildhw-06.phx2.fedoraproject.org
Normal file
4
inventory/host_vars/buildhw-06.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
gw: 10.5.125.254
|
||||
eth0_ip: 10.5.125.114
|
||||
eth1_ip: 10.5.127.133
|
4
inventory/host_vars/buildhw-07.phx2.fedoraproject.org
Normal file
4
inventory/host_vars/buildhw-07.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
gw: 10.5.125.254
|
||||
eth0_ip: 10.5.125.115
|
||||
eth1_ip: 10.5.127.134
|
4
inventory/host_vars/buildhw-08.phx2.fedoraproject.org
Normal file
4
inventory/host_vars/buildhw-08.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
gw: 10.5.125.254
|
||||
eth0_ip: 10.5.125.129
|
||||
eth1_ip: 10.5.127.127
|
4
inventory/host_vars/buildhw-09.phx2.fedoraproject.org
Normal file
4
inventory/host_vars/buildhw-09.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
gw: 10.5.125.254
|
||||
eth0_ip: 10.5.125.130
|
||||
eth1_ip: 10.5.127.128
|
4
inventory/host_vars/buildhw-10.phx2.fedoraproject.org
Normal file
4
inventory/host_vars/buildhw-10.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
gw: 10.5.125.254
|
||||
eth0_ip: 10.5.125.131
|
||||
eth1_ip: 10.5.127.129
|
4
inventory/host_vars/buildhw-11.phx2.fedoraproject.org
Normal file
4
inventory/host_vars/buildhw-11.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
gw: 10.5.125.254
|
||||
eth0_ip: 10.5.125.125
|
||||
eth1_ip: 10.5.127.212
|
4
inventory/host_vars/buildhw-12.phx2.fedoraproject.org
Normal file
4
inventory/host_vars/buildhw-12.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
gw: 10.5.125.254
|
||||
eth0_ip: 10.5.125.126
|
||||
eth1_ip: 10.5.127.213
|
|
@ -64,7 +64,7 @@
|
|||
# - restart NetworkManager
|
||||
- reload NetworkManager-connections
|
||||
- apply interface-changes
|
||||
when: (virthost is not defined) and (not item.startswith('tun')) and (not item.startswith('virbr')) and (hostvars[inventory_hostname]['ansible_' + item.replace('-','_')]['type'] == 'ether') and (ansible_distribution_major_version|int >=7) and hostvars[inventory_hostname]['ansible_' + item.replace('-','_')]['active'] and nmclitest|success and ( not ansible_ifcfg_blacklist )
|
||||
when: (virthost is not defined) and (not item.startswith('tun')) and (not item.startswith('virbr')) and (not item.startswith('vnet')) and (hostvars[inventory_hostname]['ansible_' + item.replace('-','_')]['type'] == 'ether') and (ansible_distribution_major_version|int >=7) and hostvars[inventory_hostname]['ansible_' + item.replace('-','_')]['active'] and nmclitest|success and ( not ansible_ifcfg_blacklist )
|
||||
tags:
|
||||
- config
|
||||
- ifcfg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue