bvmhost-x86-04.stg: test replacing our janky clevis role with inux-system-roles.nbde_client

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2022-05-12 17:50:16 -07:00
parent ec6d71f911
commit d1626cbb3f

View file

@ -14,6 +14,14 @@
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
vars:
nbde_client_bindings:
- device: /dev/md2
encryption_password: "{{ nbde_password }}"
servers:
- http://tang01.iad2.fedoraproject.org
- http://tang02.iad2.fedoraproject.org
pre_tasks:
- include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
@ -30,7 +38,8 @@
- { role: iscsi_client, when: "inventory_hostname.startswith(('bvmhost-x86-06', 'bvmhost-x86-07')) and datacenter == 'iad2'" }
- sudo
- virthost
- { role: clevis, when: datacenter == 'iad2'}
- { role: clevis, when: datacenter == 'iad2' not inventory_hostname.startswith('bvmhost-x86-04.stg') }
- { role: linux-system-roles.nbde_client, when: inventory_hostname.startswith('bvmhost-x86-04.stg') }
- { role: serial-console, when: datacenter == 'iad2' and not inventory_hostname.startswith('buildvmhost-s390x') }
tasks: