sundries: fix nfs mounts names in prod
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
75e81cbccd
commit
ea17f4b23c
1 changed files with 7 additions and 2 deletions
|
@ -68,9 +68,14 @@
|
||||||
mount_stg: true
|
mount_stg: true
|
||||||
- role: nfs/client
|
- role: nfs/client
|
||||||
mnt_dir: '/srv/web/registry-index'
|
mnt_dir: '/srv/web/registry-index'
|
||||||
nfs_src_dir: '/flatpak-indexer-storage-{{ env_short }}'
|
nfs_src_dir: 'flatpak-indexer-storage-stg'
|
||||||
mount_stg: true
|
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:
|
pre_tasks:
|
||||||
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue