From a62eb89dd1fac40f7df16ede57c98fa8c5810f35 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Tue, 16 Apr 2019 19:33:42 +0200 Subject: [PATCH] Deploy docsbuilding to prod Signed-off-by: Patrick Uiterwijk --- playbooks/groups/sundries.yml | 2 +- playbooks/openshift-apps/docsbuilding.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/groups/sundries.yml b/playbooks/groups/sundries.yml index 6c3511181c..1f53aeafd6 100644 --- a/playbooks/groups/sundries.yml +++ b/playbooks/groups/sundries.yml @@ -57,7 +57,7 @@ mnt_dir: '/srv/docs' nfs_src_dir: 'openshift_{{ env_short }}_docs' mount_stg: true - when: '"sundries01" in ansible_fqdn and env == "staging"' + when: '"sundries01" in ansible_fqdn' pre_tasks: - import_tasks: "{{ tasks_path }}/yumrepos.yml" diff --git a/playbooks/openshift-apps/docsbuilding.yml b/playbooks/openshift-apps/docsbuilding.yml index 476c0cbb94..d6a112ce07 100644 --- a/playbooks/openshift-apps/docsbuilding.yml +++ b/playbooks/openshift-apps/docsbuilding.yml @@ -1,5 +1,5 @@ - name: make the app be real - hosts: os-masters-stg[0] + hosts: os-masters[0]:os-masters-stg[0] user: root gather_facts: False