bodhi2: Mount /mnt/koji in staging as read-only
This commit is contained in:
parent
77557d288d
commit
0ffa211073
2 changed files with 7 additions and 0 deletions
|
@ -28,3 +28,6 @@ fedmsg_certs:
|
||||||
- service: bodhi
|
- service: bodhi
|
||||||
owner: root
|
owner: root
|
||||||
group: bodhi
|
group: bodhi
|
||||||
|
|
||||||
|
# Mount /mnt/fedora_koji as read-only in staging
|
||||||
|
nfs_mount_opts: "ro,hard,bg,intr,noatime,nodev,nosuid"
|
||||||
|
|
|
@ -40,6 +40,10 @@
|
||||||
- apache
|
- apache
|
||||||
- { role: bodhi2/base, when: "inventory_hostname.startswith('bodhi0')" }
|
- { role: bodhi2/base, when: "inventory_hostname.startswith('bodhi0')" }
|
||||||
- { role: fedmsg/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:
|
tasks:
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue