nbde: mark hosts that do not have nbde correctly
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
26f69a7ee2
commit
3dd582a36c
26 changed files with 33 additions and 1 deletions
|
@ -149,6 +149,7 @@ nagios_Check_Services:
|
||||||
swap: true
|
swap: true
|
||||||
nat_rules: []
|
nat_rules: []
|
||||||
# default network block device encryption settings for linux-system-roles/nbde_client
|
# default network block device encryption settings for linux-system-roles/nbde_client
|
||||||
|
nbde: true
|
||||||
nbde_client_bindings:
|
nbde_client_bindings:
|
||||||
- device: /dev/md2
|
- device: /dev/md2
|
||||||
encryption_password: "{{ nbde_password }}"
|
encryption_password: "{{ nbde_password }}"
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
dns1: 10.3.163.33
|
dns1: 10.3.163.33
|
||||||
dns2: 10.3.163.34
|
dns2: 10.3.163.34
|
||||||
dns_search1: fedoraproject.org
|
dns_search1: fedoraproject.org
|
||||||
|
nbde: false
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: true
|
- autoconnect: true
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -10,6 +10,7 @@ dns_search1: "iad2.fedoraproject.org"
|
||||||
dns_search2: "fedoraproject.org"
|
dns_search2: "fedoraproject.org"
|
||||||
has_ipv4: yes
|
has_ipv4: yes
|
||||||
mac1: 50:6b:4b:6a:d3:c0
|
mac1: 50:6b:4b:6a:d3:c0
|
||||||
|
nbde: false
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: yes
|
- autoconnect: yes
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -11,6 +11,7 @@ dns_search2: "iad2.fedoraproject.org"
|
||||||
dns_search3: "fedoraproject.org"
|
dns_search3: "fedoraproject.org"
|
||||||
has_ipv4: yes
|
has_ipv4: yes
|
||||||
mac1: 50:6b:4b:6a:ef:20
|
mac1: 50:6b:4b:6a:ef:20
|
||||||
|
nbde: false
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: yes
|
- autoconnect: yes
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -10,6 +10,7 @@ dns_search1: "iad2.fedoraproject.org"
|
||||||
dns_search2: "fedoraproject.org"
|
dns_search2: "fedoraproject.org"
|
||||||
has_ipv4: yes
|
has_ipv4: yes
|
||||||
mac1: 50:6b:4b:6a:c2:c0
|
mac1: 50:6b:4b:6a:c2:c0
|
||||||
|
nbde: false
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: yes
|
- autoconnect: yes
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -10,6 +10,7 @@ dns_search1: "iad2.fedoraproject.org"
|
||||||
dns_search2: "fedoraproject.org"
|
dns_search2: "fedoraproject.org"
|
||||||
has_ipv4: yes
|
has_ipv4: yes
|
||||||
mac1: 50:6b:4b:6b:0a:40
|
mac1: 50:6b:4b:6b:0a:40
|
||||||
|
nbde: false
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: yes
|
- autoconnect: yes
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -10,6 +10,7 @@ dns_search1: "iad2.fedoraproject.org"
|
||||||
dns_search2: "fedoraproject.org"
|
dns_search2: "fedoraproject.org"
|
||||||
has_ipv4: yes
|
has_ipv4: yes
|
||||||
mac1: 50:6b:4b:6a:b5:d0
|
mac1: 50:6b:4b:6a:b5:d0
|
||||||
|
nbde: false
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: yes
|
- autoconnect: yes
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -10,6 +10,7 @@ dns_search1: "iad2.fedoraproject.org"
|
||||||
dns_search2: "fedoraproject.org"
|
dns_search2: "fedoraproject.org"
|
||||||
has_ipv4: yes
|
has_ipv4: yes
|
||||||
mac1: 50:6b:4b:6a:ef:70
|
mac1: 50:6b:4b:6a:ef:70
|
||||||
|
nbde: false
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: yes
|
- autoconnect: yes
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -10,6 +10,7 @@ dns_search1: "iad2.fedoraproject.org"
|
||||||
dns_search2: "fedoraproject.org"
|
dns_search2: "fedoraproject.org"
|
||||||
has_ipv4: yes
|
has_ipv4: yes
|
||||||
mac1: 50:6b:4b:6a:ba:60
|
mac1: 50:6b:4b:6a:ba:60
|
||||||
|
nbde: false
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: yes
|
- autoconnect: yes
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -10,6 +10,7 @@ dns_search1: "iad2.fedoraproject.org"
|
||||||
dns_search2: "fedoraproject.org"
|
dns_search2: "fedoraproject.org"
|
||||||
has_ipv4: yes
|
has_ipv4: yes
|
||||||
mac1: 50:6b:4b:6b:07:00
|
mac1: 50:6b:4b:6b:07:00
|
||||||
|
nbde: false
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: yes
|
- autoconnect: yes
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -10,6 +10,7 @@ dns_search1: "iad2.fedoraproject.org"
|
||||||
dns_search2: "fedoraproject.org"
|
dns_search2: "fedoraproject.org"
|
||||||
has_ipv4: yes
|
has_ipv4: yes
|
||||||
mac1: 50:6b:4b:6a:c2:00
|
mac1: 50:6b:4b:6a:c2:00
|
||||||
|
nbde: false
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: yes
|
- autoconnect: yes
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -10,6 +10,7 @@ dns_search1: "iad2.fedoraproject.org"
|
||||||
dns_search2: "fedoraproject.org"
|
dns_search2: "fedoraproject.org"
|
||||||
has_ipv4: yes
|
has_ipv4: yes
|
||||||
mac1: 50:6b:4b:6a:c9:70
|
mac1: 50:6b:4b:6a:c9:70
|
||||||
|
nbde: false
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: yes
|
- autoconnect: yes
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -10,6 +10,7 @@ dns_search1: "iad2.fedoraproject.org"
|
||||||
dns_search2: "fedoraproject.org"
|
dns_search2: "fedoraproject.org"
|
||||||
has_ipv4: yes
|
has_ipv4: yes
|
||||||
mac1: 50:6b:4b:6a:dd:a0
|
mac1: 50:6b:4b:6a:dd:a0
|
||||||
|
nbde: false
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: yes
|
- autoconnect: yes
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -10,6 +10,7 @@ dns_search1: "iad2.fedoraproject.org"
|
||||||
dns_search2: "fedoraproject.org"
|
dns_search2: "fedoraproject.org"
|
||||||
has_ipv4: yes
|
has_ipv4: yes
|
||||||
mac1: 50:6b:4b:6a:c2:50
|
mac1: 50:6b:4b:6a:c2:50
|
||||||
|
nbde: false
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: yes
|
- autoconnect: yes
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -10,6 +10,7 @@ dns_search1: "iad2.fedoraproject.org"
|
||||||
dns_search2: "fedoraproject.org"
|
dns_search2: "fedoraproject.org"
|
||||||
has_ipv4: yes
|
has_ipv4: yes
|
||||||
mac1: 50:6b:4b:6a:b7:f0
|
mac1: 50:6b:4b:6a:b7:f0
|
||||||
|
nbde: false
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: yes
|
- autoconnect: yes
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -11,6 +11,7 @@ dns_search2: "iad2.fedoraproject.org"
|
||||||
dns_search3: "fedoraproject.org"
|
dns_search3: "fedoraproject.org"
|
||||||
has_ipv4: yes
|
has_ipv4: yes
|
||||||
mac1: 80:61:5f:06:96:5e
|
mac1: 80:61:5f:06:96:5e
|
||||||
|
nbde: false
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: yes
|
- autoconnect: yes
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -10,6 +10,7 @@ dns_search1: "iad2.fedoraproject.org"
|
||||||
dns_search2: "fedoraproject.org"
|
dns_search2: "fedoraproject.org"
|
||||||
has_ipv4: yes
|
has_ipv4: yes
|
||||||
mac1: 40:a6:b7:18:8a:38
|
mac1: 40:a6:b7:18:8a:38
|
||||||
|
nbde: false
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: yes
|
- autoconnect: yes
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -11,6 +11,7 @@ dns_search2: "iad2.fedoraproject.org"
|
||||||
dns_search3: "fedoraproject.org"
|
dns_search3: "fedoraproject.org"
|
||||||
has_ipv4: yes
|
has_ipv4: yes
|
||||||
mac3: b8:ce:f6:88:9a:de
|
mac3: b8:ce:f6:88:9a:de
|
||||||
|
nbde: false
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: yes
|
- autoconnect: yes
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -11,6 +11,7 @@ dns_search2: "fedoraproject.org"
|
||||||
has_ipv4: yes
|
has_ipv4: yes
|
||||||
mac1: ac:1f:6b:56:e9:11
|
mac1: ac:1f:6b:56:e9:11
|
||||||
mac2: 40:a6:b7:18:86:b4
|
mac2: 40:a6:b7:18:86:b4
|
||||||
|
nbde: false
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: yes
|
- autoconnect: yes
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -10,6 +10,7 @@ dns_search1: "iad2.fedoraproject.org"
|
||||||
dns_search2: "fedoraproject.org"
|
dns_search2: "fedoraproject.org"
|
||||||
has_ipv4: yes
|
has_ipv4: yes
|
||||||
mac1: 40:a6:b7:18:85:74
|
mac1: 40:a6:b7:18:85:74
|
||||||
|
nbde: false
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: yes
|
- autoconnect: yes
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -11,6 +11,7 @@ dns_search2: "fedoraproject.org"
|
||||||
has_ipv4: yes
|
has_ipv4: yes
|
||||||
mac1: 40:a6:b7:18:85:74
|
mac1: 40:a6:b7:18:85:74
|
||||||
mac2: 40:a6:b7:18:86:c8
|
mac2: 40:a6:b7:18:86:c8
|
||||||
|
nbde: false
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: yes
|
- autoconnect: yes
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -10,6 +10,7 @@ dns_search2: "iad2.fedoraproject.org"
|
||||||
dns_search3: "fedoraproject.org"
|
dns_search3: "fedoraproject.org"
|
||||||
has_ipv4: yes
|
has_ipv4: yes
|
||||||
mac2: b8:ce:f6:c5:ff:66
|
mac2: b8:ce:f6:c5:ff:66
|
||||||
|
nbde: false
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: yes
|
- autoconnect: yes
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -13,6 +13,14 @@ mac1: e4:43:4b:24:19:96
|
||||||
mac2: e4:43:4b:24:19:76
|
mac2: e4:43:4b:24:19:76
|
||||||
mac3: e4:43:4b:24:19:97
|
mac3: e4:43:4b:24:19:97
|
||||||
mac4: e4:43:4b:24:19:78
|
mac4: e4:43:4b:24:19:78
|
||||||
|
nbde_client_bindings:
|
||||||
|
- device: /dev/md127
|
||||||
|
encryption_password: "{{ nbde_password }}"
|
||||||
|
password_temporary: no
|
||||||
|
threshold: 1
|
||||||
|
servers:
|
||||||
|
- http://tang01.iad2.fedoraproject.org
|
||||||
|
- http://tang02.iad2.fedoraproject.org
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: yes
|
- autoconnect: yes
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -10,6 +10,7 @@ dns_search1: "iad2.fedoraproject.org"
|
||||||
dns_search2: "fedoraproject.org"
|
dns_search2: "fedoraproject.org"
|
||||||
has_ipv4: yes
|
has_ipv4: yes
|
||||||
mac1: 24:6e:96:b1:61:f8
|
mac1: 24:6e:96:b1:61:f8
|
||||||
|
nbde: false
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: yes
|
- autoconnect: yes
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -10,6 +10,7 @@ dns_search1: "iad2.fedoraproject.org"
|
||||||
dns_search2: "fedoraproject.org"
|
dns_search2: "fedoraproject.org"
|
||||||
has_ipv4: yes
|
has_ipv4: yes
|
||||||
mac2: 24:6e:96:b1:61:c0
|
mac2: 24:6e:96:b1:61:c0
|
||||||
|
nbde: false
|
||||||
network_connections:
|
network_connections:
|
||||||
- autoconnect: yes
|
- autoconnect: yes
|
||||||
ip:
|
ip:
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
- { role: iscsi_client, when: "inventory_hostname.startswith(('bvmhost-x86-06', 'bvmhost-x86-07')) and datacenter == 'iad2'" }
|
- { role: iscsi_client, when: "inventory_hostname.startswith(('bvmhost-x86-06', 'bvmhost-x86-07')) and datacenter == 'iad2'" }
|
||||||
- sudo
|
- sudo
|
||||||
- virthost
|
- virthost
|
||||||
- { role: linux-system-roles.nbde_client, when: datacenter == 'iad2' }
|
- { role: linux-system-roles.nbde_client, when: datacenter == 'iad2' and nbde == 'true' }
|
||||||
- { role: serial-console, when: datacenter == 'iad2' and not inventory_hostname.startswith('buildvmhost-s390x') }
|
- { role: serial-console, when: datacenter == 'iad2' and not inventory_hostname.startswith('buildvmhost-s390x') }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue