mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-28 20:42:20 +08:00
group_vars/all: default nbdr to false for non rdu3 hardware
Non rdu3 hardware doesn't have access to tang. There's some slight exceptions on some hosts that use tpm, but we can override that in hosts vars. Also drop the rdu3 datacenter check, we can just use the nbde boolean to determine if we run it or not. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
@@ -302,3 +302,8 @@ notes: |
|
||||
Unspecified.
|
||||
* What hosts/services does this rely on?
|
||||
* What hosts/services rely on this?
|
||||
|
||||
# network block device encryption default to false,
|
||||
# only set on hardware hosts that are encrypted installs where
|
||||
# there is a local tang server or tpm
|
||||
nbde: false
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
- role: collectd/base
|
||||
- sudo
|
||||
- virthost
|
||||
- {role: linux-system-roles.nbde_client, tags: ['nbde_client'], when: (datacenter == 'rdu3' and nbde|bool) or ( datacenter == 'rdu3' and nbde|bool) }
|
||||
- {role: linux-system-roles.nbde_client, tags: ['nbde_client'], when: (nbde|bool) }
|
||||
- {role: serial-console, when: datacenter == 'rdu3' and ansible_architecture != 's390x'}
|
||||
- {role: iscsi_client, when: datacenter == 'rdu3' and inventory_hostname.startswith('bvmhost-p10-01') }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user