sundries: fix nfs mounts names in prod

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2021-03-26 13:51:45 -07:00
parent 75e81cbccd
commit ea17f4b23c

View file

@ -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"