mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 10:56:20 +08:00
bvmhost-s390x: simplify conditional
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user