From 927ff7f17ccfcf319ddf73f764db38212268239d Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 8 May 2020 15:08:55 -0700 Subject: [PATCH] iad2: adjust logserver playbook to handle iad2 log server Signed-off-by: Kevin Fenzi --- playbooks/groups/logserver.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/playbooks/groups/logserver.yml b/playbooks/groups/logserver.yml index 6d9b2ed6ee..f82a2a50a4 100644 --- a/playbooks/groups/logserver.yml +++ b/playbooks/groups/logserver.yml @@ -1,7 +1,7 @@ -- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=log01.phx2.fedoraproject.org" +- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=logging" - name: make the box be real - hosts: log01.phx2.fedoraproject.org + hosts: logging user: root gather_facts: True @@ -28,7 +28,7 @@ owner_group: apache service: HTTP host: "admin.fedoraproject.org" - when: env == "production" + when: env == "production" and datacenter != 'iad2' pre_tasks: - import_tasks: "{{ tasks_path }}/yumrepos.yml"