sundries: mount nfs volumes on sundries02 also

We want to have all the same nfs mounts on sundries02.
It will not normally be running any scripts or crons, but if 01 dies, we
can just start them on 02 and everything should work.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-10-05 17:04:02 -07:00
parent f650eab7ee
commit 8f81933dec

View file

@ -62,17 +62,14 @@
mnt_dir: '/srv/docs'
nfs_src_dir: 'openshift_{{ env_short }}_docs'
mount_stg: true
when: '"sundries01" in ansible_fqdn'
- role: nfs/client
mnt_dir: '/srv/websites'
nfs_src_dir: 'openshift_{{ env_short }}_websites'
mount_stg: true
when: '"sundries01" in ansible_fqdn'
- role: nfs/client
mnt_dir: '/srv/web/review-stats'
nfs_src_dir: 'openshift_{{ env_short }}_reviewstats'
mount_stg: true
when: master_sundries_node|bool
pre_tasks:
- import_tasks: "{{ tasks_path }}/yumrepos.yml"