bvmhost-s390x: simplify conditional

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2024-02-20 12:57:29 -08:00
parent 328092f4a2
commit 44813b0cb1

View file

@ -49,7 +49,7 @@
- sudo
- virthost
- {role: linux-system-roles.nbde_client, tags: ['nbde_client'], when: datacenter == 'iad2' and nbde|bool}
- {role: serial-console, when: datacenter == 'iad2' and not inventory_hostname.startswith(('buildvmhost-s390x','bvmhost-s390x'))}
- {role: serial-console, when: datacenter == 'iad2' and ansible_architecture != 's390x'}
tasks:
- import_tasks: "{{ tasks_path }}/motd.yml"