Add buildhw eth config info, blacklist some groups and tweak when statement

This commit is contained in:
Kevin Fenzi 2016-02-06 00:04:01 +00:00
parent 0231ec6cf7
commit f105bfd616
15 changed files with 51 additions and 1 deletions

View file

@ -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"

View file

@ -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"

View file

@ -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

View file

@ -0,0 +1,4 @@
---
gw: 10.5.125.254
eth0_ip: 10.5.125.93
eth1_ip: 10.5.127.153

View file

@ -0,0 +1,4 @@
---
gw: 10.5.125.254
eth0_ip: 10.5.125.97
eth1_ip: 10.5.127.157

View file

@ -0,0 +1,4 @@
---
gw: 10.5.125.254
eth0_ip: 10.5.125.95
eth1_ip: 10.5.127.155

View file

@ -0,0 +1,4 @@
---
gw: 10.5.125.254
eth0_ip: 10.5.125.96
eth1_ip: 10.5.127.156

View file

@ -0,0 +1,4 @@
---
gw: 10.5.125.254
eth0_ip: 10.5.125.114
eth1_ip: 10.5.127.133

View file

@ -0,0 +1,4 @@
---
gw: 10.5.125.254
eth0_ip: 10.5.125.115
eth1_ip: 10.5.127.134

View file

@ -0,0 +1,4 @@
---
gw: 10.5.125.254
eth0_ip: 10.5.125.129
eth1_ip: 10.5.127.127

View file

@ -0,0 +1,4 @@
---
gw: 10.5.125.254
eth0_ip: 10.5.125.130
eth1_ip: 10.5.127.128

View file

@ -0,0 +1,4 @@
---
gw: 10.5.125.254
eth0_ip: 10.5.125.131
eth1_ip: 10.5.127.129

View file

@ -0,0 +1,4 @@
---
gw: 10.5.125.254
eth0_ip: 10.5.125.125
eth1_ip: 10.5.127.212

View file

@ -0,0 +1,4 @@
---
gw: 10.5.125.254
eth0_ip: 10.5.125.126
eth1_ip: 10.5.127.213

View file

@ -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