review-stats: mount the nfs drive only to the master sundries node

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2020-04-06 09:29:34 +02:00 committed by Pierre-Yves Chibon
parent 85978f4aca
commit 85e1576e5d

View file

@ -70,6 +70,7 @@
mnt_dir: '/srv/web/review-stats' mnt_dir: '/srv/web/review-stats'
nfs_src_dir: 'openshift_{{ env_short }}_reviewstats' nfs_src_dir: 'openshift_{{ env_short }}_reviewstats'
mount_stg: true mount_stg: true
when: master_sundries_node|bool
pre_tasks: pre_tasks:
- import_tasks: "{{ tasks_path }}/yumrepos.yml" - import_tasks: "{{ tasks_path }}/yumrepos.yml"