From 4fe5df7f63534d2937b04edd949152e538faff35 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 11 Jun 2020 15:31:54 -0700 Subject: [PATCH] bastion: clean up logic so server will install on bastion01.iad2 Signed-off-by: Kevin Fenzi --- playbooks/groups/bastion.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/playbooks/groups/bastion.yml b/playbooks/groups/bastion.yml index c3bd96677b..1490da2919 100644 --- a/playbooks/groups/bastion.yml +++ b/playbooks/groups/bastion.yml @@ -18,9 +18,8 @@ - fas_client - sudo - collectd/base - - { role: openvpn/server, when: not inventory_hostname.startswith('bastion-comm01') or inventory_hostname.startswith('bastion13') } - - { role: openvpn/client, when: inventory_hostname.startswith('bastion13') } - - { role: packager_alias, when: not inventory_hostname.startswith('bastion-comm01') or inventory_hostname.startswith('bastion13') } + - openvpn/server + - packager_alias - opendkim pre_tasks: