bodhi2: Mount /mnt/koji in staging as read-only

This commit is contained in:
Luke Macken 2015-07-22 05:41:29 +00:00
parent 77557d288d
commit 0ffa211073
2 changed files with 7 additions and 0 deletions

View file

@ -28,3 +28,6 @@ fedmsg_certs:
- service: bodhi
owner: root
group: bodhi
# Mount /mnt/fedora_koji as read-only in staging
nfs_mount_opts: "ro,hard,bg,intr,noatime,nodev,nosuid"

View file

@ -40,6 +40,10 @@
- apache
- { role: bodhi2/base, when: "inventory_hostname.startswith('bodhi0')" }
- { role: fedmsg/base, when: "inventory_hostname.startswith('bodhi0')" }
- role: nfs/client
mnt_dir: '/mnt/koji'
nfs_src_dir: 'fedora_koji'
when: datacenter == 'staging'
tasks:
- include: "{{ tasks }}/yumrepos.yml"