From af2099be02e254ab7e82159d17b7a2825191c543 Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Tue, 26 Aug 2014 20:23:17 +0000 Subject: [PATCH] add some meat to cloud-noc01 --- .../cloud-noc01.cloud.fedoraproject.org.yml | 3 + ...d.conf.cloud-noc01.cloud.fedoraproject.org | 339 ++++++++++++++++++ 2 files changed, 342 insertions(+) create mode 100644 roles/dhcp_server/files/dhcpd.conf.cloud-noc01.cloud.fedoraproject.org diff --git a/playbooks/hosts/cloud-noc01.cloud.fedoraproject.org.yml b/playbooks/hosts/cloud-noc01.cloud.fedoraproject.org.yml index 8d16831f03..2b2a318604 100644 --- a/playbooks/hosts/cloud-noc01.cloud.fedoraproject.org.yml +++ b/playbooks/hosts/cloud-noc01.cloud.fedoraproject.org.yml @@ -20,6 +20,8 @@ - fas_client - collectd/base - sudo + - dhcp_server + - tftp_server tasks: - include: "{{ tasks }}/yumrepos.yml" @@ -28,4 +30,5 @@ handlers: - include: "{{ handlers }}/restart_services.yml" + - include: "{{ handlers }}/semanage.yml" diff --git a/roles/dhcp_server/files/dhcpd.conf.cloud-noc01.cloud.fedoraproject.org b/roles/dhcp_server/files/dhcpd.conf.cloud-noc01.cloud.fedoraproject.org new file mode 100644 index 0000000000..5e88145dad --- /dev/null +++ b/roles/dhcp_server/files/dhcpd.conf.cloud-noc01.cloud.fedoraproject.org @@ -0,0 +1,339 @@ +server-identifier cloud-noc01.cloud.fedoraproject.org; +ddns-update-style none; + +#subnet 172.16.1.0 netmask 255.255.255.0 { +#} +#subnet 172.16.2.0 netmask 255.255.255.0 { +#} +#subnet 172.16.3.0 netmask 255.255.255.0 { +#} +#subnet 172.16.4.0 netmask 255.255.255.0 { +#} +#subnet 172.16.5.0 netmask 255.255.255.0 { +#} +#subnet 172.16.6.0 netmask 255.255.255.0 { +#} +#subnet 172.16.7.0 netmask 255.255.255.0 { +#} +#subnet 172.16.8.0 netmask 255.255.255.0 { +#} +#subnet 172.16.9.0 netmask 255.255.255.0 { +#} + +# ARM MGMT VLAN +subnet 172.23.0.0 netmask 255.255.255.0 { + allow booting; + allow bootp; + + option domain-name "cloud.fedoraproject.org"; + option domain-name-servers 66.35.62.163, 152.19.134.150; + option routers 172.23.0.2; + option log-servers 172.23.0.2; + host arm03-packager00-mgmt { + hardware ethernet fc:2f:40:1b:64:4e; + fixed-address 172.23.0.70; + option host-name "arm03-packager00-mgmt"; + next-server 172.23.0.2; + } + host arm03-packager01-mgmt { + hardware ethernet fc:2f:40:08:d7:e2; + fixed-address 172.23.0.71; + option host-name "arm03-packager01-mgmt"; + next-server 172.23.0.2; + } + host arm03-qa00-mgmt { + hardware ethernet fc:2f:40:a1:f8:36; + fixed-address 172.23.0.72; + option host-name "arm03-qa00-mgmt"; + next-server 172.23.0.2; + } + host arm03-qa01-mgmt { + hardware ethernet fc:2f:40:1b:f6:da; + fixed-address 172.23.0.73; + option host-name "arm03-qa01-mgmt"; + next-server 172.23.0.2; + } + host arm03-soc04-mgmt { + hardware ethernet fc:2f:40:16:c8:3a; + fixed-address 172.23.0.74; + option host-name "arm03-soc04-mgmt"; + next-server 172.23.0.2; + } + host arm03-soc05-mgmt { + hardware ethernet fc:2f:40:9b:1d:da; + fixed-address 172.23.0.75; + option host-name "arm03-soc05-mgmt"; + next-server 172.23.0.2; + } + host arm03-soc06-mgmt { + hardware ethernet fc:2f:40:00:4c:e2; + fixed-address 172.23.0.76; + option host-name "arm03-soc06-mgmt"; + next-server 172.23.0.2; + } + host arm03-soc07-mgmt { + hardware ethernet fc:2f:40:57:cb:b6; + fixed-address 172.23.0.77; + option host-name "arm03-soc07-mgmt"; + next-server 172.23.0.2; + } + host arm03-soc08-mgmt { + hardware ethernet fc:2f:40:12:6a:26; + fixed-address 172.23.0.78; + option host-name "arm03-soc08-mgmt"; + next-server 172.23.0.2; + } + host arm03-soc09-mgmt { + hardware ethernet fc:2f:40:5d:85:8a; + fixed-address 172.23.0.79; + option host-name "arm03-soc09-mgmt"; + next-server 172.23.0.2; + } + host arm03-soc10-mgmt { + hardware ethernet fc:2f:40:a5:5f:42; + fixed-address 172.23.0.80; + option host-name "arm03-soc10-mgmt"; + next-server 172.23.0.2; + } + host arm03-soc11-mgmt { + hardware ethernet fc:2f:40:d2:a1:0e; + fixed-address 172.23.0.81; + option host-name "arm03-soc11-mgmt"; + next-server 172.23.0.2; + } + host arm03-soc12-mgmt { + hardware ethernet fc:2f:40:00:a4:c6; + fixed-address 172.23.0.82; + option host-name "arm03-soc12-mgmt"; + next-server 172.23.0.2; + } + host arm03-soc13-mgmt { + hardware ethernet fc:2f:40:59:27:ba; + fixed-address 172.23.0.83; + option host-name "arm03-soc13-mgmt"; + next-server 172.23.0.2; + } + host arm03-soc14-mgmt { + hardware ethernet fc:2f:40:7b:ab:f6; + fixed-address 172.23.0.84; + option host-name "arm03-soc14-mgmt"; + next-server 172.23.0.2; + } + host arm03-soc15-mgmt { + hardware ethernet fc:2f:40:8a:99:96; + fixed-address 172.23.0.85; + option host-name "arm03-soc15-mgmt"; + next-server 172.23.0.2; + } + host arm03-soc16-mgmt { + hardware ethernet fc:2f:40:ea:ff:16; + fixed-address 172.23.0.86; + option host-name "arm03-soc16-mgmt"; + next-server 172.23.0.2; + } + host arm03-soc17-mgmt { + hardware ethernet fc:2f:40:79:e3:8e; + fixed-address 172.23.0.87; + option host-name "arm03-soc17-mgmt"; + next-server 172.23.0.2; + } + host arm03-soc18-mgmt { + hardware ethernet fc:2f:40:7d:0c:9a; + fixed-address 172.23.0.88; + option host-name "arm03-soc18-mgmt"; + next-server 172.23.0.2; + } + host arm03-soc19-mgmt { + hardware ethernet fc:2f:40:04:29:9a; + fixed-address 172.23.0.89; + option host-name "arm03-soc19-mgmt"; + next-server 172.23.0.2; + } + host arm03-soc20-mgmt { + hardware ethernet fc:2f:40:3c:50:26; + fixed-address 172.23.0.90; + option host-name "arm03-soc20-mgmt"; + next-server 172.23.0.2; + } + host arm03-soc21-mgmt { + hardware ethernet fc:2f:40:cb:4f:66; + fixed-address 172.23.0.91; + option host-name "arm03-soc21-mgmt"; + next-server 172.23.0.2; + } + host arm03-soc22-mgmt { + hardware ethernet fc:2f:40:17:c0:ee; + fixed-address 172.23.0.92; + option host-name "arm03-soc22-mgmt"; + next-server 172.23.0.2; + } + host arm03-soc23-mgmt { + hardware ethernet fc:2f:40:00:47:3e; + fixed-address 172.23.0.93; + option host-name "arm03-soc23-mgmt"; + next-server 172.23.0.2; + } +} + +# ARM VLAN +subnet 209.132.184.0 netmask 255.255.255.0 { + allow booting; + allow bootp; + + option domain-name "cloud.fedoraproject.org fedoraproject.org"; + option domain-name-servers 66.35.62.163, 152.19.134.150; + option routers 209.132.184.254; + option log-servers 209.132.184.2; + host fed-cloud09 { + hardware ethernet f0:1f:af:e3:5f:0c; + fixed-address 209.132.184.9; + option host-name "fed-cloud09.cloud.fedoraproject.org"; + next-server 209.132.184.2; + filename "pxelinux.0"; + } + host arm03-packager00 { + hardware ethernet fc:2f:40:1b:64:4c; + fixed-address 209.132.184.70; + option host-name "arm03-packager00"; + next-server 209.132.184.2; + } + host arm03-packager01 { + hardware ethernet fc:2f:40:08:d7:e0; + fixed-address 209.132.184.71; + option host-name "arm03-packager01"; + next-server 209.132.184.2; + } + host arm03-qa00 { + hardware ethernet fc:2f:40:a1:f8:34; + fixed-address 209.132.184.72; + option host-name "arm03-qa00"; + next-server 209.132.184.2; + } + host arm03-qa01 { + hardware ethernet fc:2f:40:1b:f6:d8; + fixed-address 209.132.184.73; + option host-name "arm03-qa01"; + next-server 209.132.184.2; + } + host arm03-soc04 { + hardware ethernet fc:2f:40:16:c8:38; + fixed-address 209.132.184.74; + option host-name "arm03-soc04"; + next-server 209.132.184.2; + } + host arm03-soc05 { + hardware ethernet fc:2f:40:9b:1d:d8; + fixed-address 209.132.184.75; + option host-name "arm03-soc05"; + next-server 209.132.184.2; + } + host arm03-soc06 { + hardware ethernet fc:2f:40:00:4c:e0; + fixed-address 209.132.184.76; + option host-name "arm03-soc06"; + next-server 209.132.184.2; + } + host arm03-soc07 { + hardware ethernet fc:2f:40:57:cb:b4; + fixed-address 209.132.184.77; + option host-name "arm03-soc07"; + next-server 209.132.184.2; + } + host arm03-soc08 { + hardware ethernet fc:2f:40:12:6a:24; + fixed-address 209.132.184.78; + option host-name "arm03-soc08"; + next-server 209.132.184.2; + } + host arm03-soc09 { + hardware ethernet fc:2f:40:5d:85:88; + fixed-address 209.132.184.79; + option host-name "arm03-soc09"; + next-server 209.132.184.2; + } + host arm03-soc10 { + hardware ethernet fc:2f:40:a5:5f:40; + fixed-address 209.132.184.80; + option host-name "arm03-soc10"; + next-server 209.132.184.2; + } + host arm03-soc11 { + hardware ethernet fc:2f:40:d2:a1:0c; + fixed-address 209.132.184.81; + option host-name "arm03-soc11"; + next-server 209.132.184.2; + } + host arm03-soc12 { + hardware ethernet fc:2f:40:00:a4:c4; + fixed-address 209.132.184.82; + option host-name "arm03-soc12"; + next-server 209.132.184.2; + } + host arm03-soc13 { + hardware ethernet fc:2f:40:59:27:b8; + fixed-address 209.132.184.83; + option host-name "arm03-soc13"; + next-server 209.132.184.2; + } + host arm03-soc14 { + hardware ethernet fc:2f:40:7b:ab:f4; + fixed-address 209.132.184.84; + option host-name "arm03-soc14"; + next-server 209.132.184.2; + } + host arm03-soc15 { + hardware ethernet fc:2f:40:8a:99:94; + fixed-address 209.132.184.85; + option host-name "arm03-soc15"; + next-server 209.132.184.2; + } + host arm03-soc16 { + hardware ethernet fc:2f:40:ea:ff:14; + fixed-address 209.132.184.86; + option host-name "arm03-soc16"; + next-server 209.132.184.2; + } + host arm03-soc17 { + hardware ethernet fc:2f:40:79:e3:8c; + fixed-address 209.132.184.87; + option host-name "arm03-soc17"; + next-server 209.132.184.2; + } + host arm03-soc18 { + hardware ethernet fc:2f:40:7d:0c:98; + fixed-address 209.132.184.88; + option host-name "arm03-soc18"; + next-server 209.132.184.2; + } + host arm03-soc19 { + hardware ethernet fc:2f:40:04:29:98; + fixed-address 209.132.184.89; + option host-name "arm03-soc19"; + next-server 209.132.184.2; + } + host arm03-soc20 { + hardware ethernet fc:2f:40:3c:50:24; + fixed-address 209.132.184.90; + option host-name "arm03-soc20"; + next-server 209.132.184.2; + } + host arm03-soc21 { + hardware ethernet fc:2f:40:cb:4f:64; + fixed-address 209.132.184.91; + option host-name "arm03-soc21"; + next-server 209.132.184.2; + } + host arm03-soc22 { + hardware ethernet fc:2f:40:17:c0:ec; + fixed-address 209.132.184.92; + option host-name "arm03-soc22"; + next-server 209.132.184.2; + } + host arm03-soc23 { + hardware ethernet fc:2f:40:00:47:3c; + fixed-address 209.132.184.93; + option host-name "arm03-soc23"; + next-server 209.132.184.2; + } + +}