Add nfs mounts for staging buildsys

This commit is contained in:
Kevin Fenzi 2014-06-04 18:51:53 +00:00
parent 50738d3b00
commit 13b04a2b10
3 changed files with 13 additions and 0 deletions

View file

@ -21,3 +21,4 @@ fedmsg_certs:
owner: root
group: apache
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid"

View file

@ -34,6 +34,7 @@
roles:
- base
- { role: nfs/client, when: not inventory_hostname.startswith('arm'), mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_koji' }
- { role: nfs/client, when: datacenter == 'staging', mnt_dir: '/mnt/koji', nfs_src_dir: '/mnt/koji' }
- koji_builder
tasks:

View file

@ -62,3 +62,14 @@
dump=0
state=mounted
when: datacenter == 'rdu'
- name: nfs mount points (stg)
mount: >
name=/{{ mnt_dir }}
src=10.5.126.87:/vol/{{ nfs_src_dir }}
fstype=nfs
opts={{nfs_mount_opts}}
passno=0
dump=0
state=mounted
when: datacenter == 'staging'