From ea17f4b23c112b084101b74127636d32aa60abd8 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 26 Mar 2021 13:51:45 -0700 Subject: [PATCH] sundries: fix nfs mounts names in prod Signed-off-by: Kevin Fenzi --- playbooks/groups/sundries.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/playbooks/groups/sundries.yml b/playbooks/groups/sundries.yml index 7a3715a407..69b9a7cb17 100644 --- a/playbooks/groups/sundries.yml +++ b/playbooks/groups/sundries.yml @@ -68,9 +68,14 @@ mount_stg: true - role: nfs/client mnt_dir: '/srv/web/registry-index' - nfs_src_dir: '/flatpak-indexer-storage-{{ env_short }}' + nfs_src_dir: 'flatpak-indexer-storage-stg' mount_stg: true - + when: master_sundries_node|bool and env == "staging" + - role: nfs/client + mnt_dir: '/srv/web/registry-index' + nfs_src_dir: 'flatpak-indexer-storage-stg' + mount_stg: true + when: master_sundries_node|bool and env != "staging" pre_tasks: - import_tasks: "{{ tasks_path }}/yumrepos.yml"