Make nfs mount a variable and set it to use rw on wiki instances.
This commit is contained in:
parent
9216d087ea
commit
0982cd46a9
4 changed files with 8 additions and 1 deletions
|
@ -48,3 +48,6 @@ nrpe_procs_crit: 200
|
|||
|
||||
# env is staging or production, we default it to production here.
|
||||
env: production
|
||||
|
||||
# nfs mount options, override at the group/host level
|
||||
nfs_mount_opts: "ro,hard,bg,intr,noatime,nodev,nosuid"
|
||||
|
|
|
@ -23,3 +23,5 @@ fedmsg_certs:
|
|||
- service: mediawiki
|
||||
owner: root
|
||||
group: apache
|
||||
|
||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid"
|
||||
|
|
|
@ -23,3 +23,5 @@ fedmsg_certs:
|
|||
- service: mediawiki
|
||||
owner: root
|
||||
group: apache
|
||||
|
||||
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid"
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
name=/mnt/{{ mnt_dir }}
|
||||
src=vtap-fedora-nfs01.storage.phx2.redhat.com:/vol/{{ nfs_src_dir }}
|
||||
fstype=nfs
|
||||
opts=ro,hard,bg,intr,noatime,nodev,nosuid
|
||||
opts={{nfs_mount_opts}}
|
||||
passno=0
|
||||
dump=0
|
||||
state=mounted
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue