diff --git a/playbooks/groups/odcs.yml b/playbooks/groups/odcs.yml index af327ff852..29fdf957fd 100644 --- a/playbooks/groups/odcs.yml +++ b/playbooks/groups/odcs.yml @@ -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"