summaryrefslogtreecommitdiffstats
path: root/ansible/node/roles/nas
diff options
context:
space:
mode:
authorAnoop C S <anoopcs@redhat.com>2019-09-21 19:50:21 +0530
committerAnoop C S <anoopcs@redhat.com>2019-09-21 20:54:07 +0530
commit4d2f1097aa29677b7e08839cd5ce178796260a14 (patch)
treeee61ce3282513aeefe3dd622f96bbf4f03281b43 /ansible/node/roles/nas
parentad253c1ec136a9e647bf53e0415b238246d4b9a7 (diff)
downloadautocluster-glusterfs-helpers.tar.gz
autocluster-glusterfs-helpers.tar.xz
autocluster-glusterfs-helpers.zip
Add GlusterFS and helpersglusterfs-helpers
Signed-off-by: Anoop C S <anoopcs@redhat.com>
Diffstat (limited to 'ansible/node/roles/nas')
-rw-r--r--ansible/node/roles/nas/tasks/generic/samba-glusterfs-once.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/ansible/node/roles/nas/tasks/generic/samba-glusterfs-once.yml b/ansible/node/roles/nas/tasks/generic/samba-glusterfs-once.yml
new file mode 100644
index 0000000..e722291
--- /dev/null
+++ b/ansible/node/roles/nas/tasks/generic/samba-glusterfs-once.yml
@@ -0,0 +1,14 @@
+---
+- name: Tweak Samba config for GlusterFS cluster filesystem
+ command: net conf setparm global "{{ p.param }}" "{{ p.value }}"
+ with_list:
+ - param: kernel share modes
+ value: "no"
+ - param: kernel oplocks
+ value: "no"
+ - param: kernel change notify
+ value: "no"
+ - param: posix locking
+ value: "no"
+ loop_control:
+ loop_var: p