From 6ee445f4e7faade60cf3148e800d2fbd3291a21e Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Jun 21 2020 19:02:58 +0000 Subject: buildvmhost-s390x-01: no serial console here, so don't try and run it. Signed-off-by: Kevin Fenzi --- diff --git a/playbooks/groups/virthost.yml b/playbooks/groups/virthost.yml index 767b952..c1a929c 100644 --- a/playbooks/groups/virthost.yml +++ b/playbooks/groups/virthost.yml @@ -31,7 +31,7 @@ - { role: openvpn/client, when: vpn|bool } - virthost - { role: clevis, when: datacenter == 'iad2'} - - { role: serial-console, when: datacenter == 'iad2'} + - { role: serial-console, when: datacenter == 'iad2' and not inventory_hostname.startswith(('bvirthost', 'buildvmhost-0'))} tasks: - import_tasks: "{{ tasks_path }}/2fa_client.yml"