summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKamil Páral <kparal@redhat.com>2017-08-10 19:02:04 +0200
committerKamil Páral <kparal@redhat.com>2017-08-10 19:02:04 +0200
commitd4d019b0548d0872d58f9e9e3912f54c57c55206 (patch)
tree6d09c96f6d194c3a41141a522a087d394fa4a108
parent87dd290a6210c923aeadde92352d3747556276ea (diff)
downloadansible-d4d019b0548d0872d58f9e9e3912f54c57c55206.tar.gz
ansible-d4d019b0548d0872d58f9e9e3912f54c57c55206.tar.xz
ansible-d4d019b0548d0872d58f9e9e3912f54c57c55206.zip
taskotron: add sec=sys to nfs mount to work around rhbz 1480319
With nfs-utils-2.1.1-5.rc4.fc25 we couldn't write anything to the NFS share, because sec=sys (default or autodetection) changed to sec=null. Forcing that through fstab helps. See: https://bugzilla.redhat.com/show_bug.cgi?id=1480319
-rw-r--r--playbooks/groups/taskotron.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/playbooks/groups/taskotron.yml b/playbooks/groups/taskotron.yml
index 5a3a86e14..bdb4c2fa5 100644
--- a/playbooks/groups/taskotron.yml
+++ b/playbooks/groups/taskotron.yml
@@ -49,9 +49,9 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
roles:
- - { role: nfs/client, mnt_dir: '/srv/taskotron/', nfs_src_dir: 'fedora_taskotron_dev', nfs_mount_opts: 'rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4', when: deployment_type == 'dev' }
- - { role: nfs/client, mnt_dir: '/srv/taskotron/', nfs_src_dir: 'fedora_taskotron_stg', nfs_mount_opts: 'rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4', when: deployment_type == 'stg' }
- - { role: nfs/client, mnt_dir: '/srv/taskotron/', nfs_src_dir: 'fedora_taskotron_prod', nfs_mount_opts: 'rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4', when: deployment_type == 'prod' }
+ - { role: nfs/client, mnt_dir: '/srv/taskotron/', nfs_src_dir: 'fedora_taskotron_dev', nfs_mount_opts: 'rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4,sec=sys', when: deployment_type == 'dev' }
+ - { role: nfs/client, mnt_dir: '/srv/taskotron/', nfs_src_dir: 'fedora_taskotron_stg', nfs_mount_opts: 'rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4,sec=sys', when: deployment_type == 'stg' }
+ - { role: nfs/client, mnt_dir: '/srv/taskotron/', nfs_src_dir: 'fedora_taskotron_prod', nfs_mount_opts: 'rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4,sec=sys', when: deployment_type == 'prod' }
- { role: taskotron/grokmirror, tags: ['grokmirror'] }
# - { role: taskotron/cgit, tags: ['cgit'] }
- { role: taskotron/buildmaster, tags: ['buildmaster'] }