From 9725d8d56c78c4d1b160b5118d002375b0b31c09 Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Thu, 22 Jun 2017 01:30:19 +0000 Subject: [PATCH] ok maybe this will get the right cert --- playbooks/groups/noc-new.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/playbooks/groups/noc-new.yml b/playbooks/groups/noc-new.yml index 894a4c2032..078b7c5c19 100644 --- a/playbooks/groups/noc-new.yml +++ b/playbooks/groups/noc-new.yml @@ -26,11 +26,19 @@ - { role: openvpn/client, when: env != "staging" } - mod_wsgi - - role: keytab/service + - { role: keytab/service owner_user: apache owner_group: apache service: HTTP - host: "nagios{{env_suffix}}.fedoraproject.org" + host: "nagios{{env_suffix}}.fedoraproject.org", + when: datacenter == 'phx2' } + - { role: keytab/service + owner_user: apache + owner_group: apache + service: HTTP + host: "nagios-external{{env_suffix}}.fedoraproject.org", + when: datacenter != 'phx2' } + tasks: - include: "{{ tasks_path }}/2fa_client.yml"