virthost: serial console: exclude buildvmhost-s390x properly

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2021-02-09 17:18:24 -08:00
parent e4719bdedd
commit fb0e96281c

View file

@ -31,7 +31,7 @@
- { role: openvpn/client, when: vpn|bool }
- virthost
- { role: clevis, when: datacenter == 'iad2'}
- { role: serial-console, when: datacenter == 'iad2' and not inventory_hostname.startswith('buildvmhost-0') }
- { role: serial-console, when: datacenter == 'iad2' and not inventory_hostname.startswith('buildvmhost-s390x') }
tasks:
- import_tasks: "{{ tasks_path }}/2fa_client.yml"