From 8f81933decaa1edfcb1d4bf6cf7fdf0fdda506eb Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Oct 06 2020 00:04:02 +0000 Subject: 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 --- diff --git a/playbooks/groups/sundries.yml b/playbooks/groups/sundries.yml index 35648ef..5c552b1 100644 --- a/playbooks/groups/sundries.yml +++ b/playbooks/groups/sundries.yml @@ -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"