Add nfs client to odcs-backend

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2017-10-13 09:47:17 +00:00
parent 26490839d5
commit fc440198c7

View file

@ -104,5 +104,16 @@
- fedmsg/base
- odcs/backend
- role: nfs/client
mnt_dir: '/mnt/fedora_koji'
nfs_src_dir: 'fedora_koji'
when: env != 'staging'
# In staging, we mount fedora_koji as read only (see nfs_mount_opts)
- role: nfs/client
mnt_dir: '/mnt/fedora_koji_prod'
nfs_src_dir: 'fedora_koji'
when: env == 'staging'
handlers:
- include: "{{ handlers_path }}/restart_services.yml"