diff options
author | Anoop C S <anoopcs@redhat.com> | 2020-05-26 22:55:20 +0530 |
---|---|---|
committer | spuiuk <sachin.prabhu@gmail.com> | 2020-05-28 13:13:06 +0100 |
commit | 048298572c5cf7ab7cac63b4a62fa4ffb0fc12f6 (patch) | |
tree | 5d42c0c27c3e3aba86a4e8422d666c9c1d63f65e /vagrant/ansible | |
parent | ad126fca09650e3e939164655136cd87951f8d87 (diff) | |
download | samba-integration-048298572c5cf7ab7cac63b4a62fa4ffb0fc12f6.tar.gz samba-integration-048298572c5cf7ab7cac63b4a62fa4ffb0fc12f6.tar.xz samba-integration-048298572c5cf7ab7cac63b4a62fa4ffb0fc12f6.zip |
Remove unnecessary block for setting volume options
Diffstat (limited to 'vagrant/ansible')
-rw-r--r-- | vagrant/ansible/roles/samba-glusterfs.setup/tasks/main.yml | 40 |
1 files changed, 19 insertions, 21 deletions
diff --git a/vagrant/ansible/roles/samba-glusterfs.setup/tasks/main.yml b/vagrant/ansible/roles/samba-glusterfs.setup/tasks/main.yml index 7e2e193..4c1caf5 100644 --- a/vagrant/ansible/roles/samba-glusterfs.setup/tasks/main.yml +++ b/vagrant/ansible/roles/samba-glusterfs.setup/tasks/main.yml @@ -29,27 +29,25 @@ group: root mode: '0644' -- name: Set Volume options and restart volume in a single host - block: - - name: Setup Gluster volume settings - gluster_volume: - state: present - name: "{{ gluster_cluster_volume }}" - options: - { - features.cache-invalidation: 'on', - features.cache-invalidation-timeout: '600', - performance.cache-samba-metadata: 'on', - performance.stat-prefetch: 'on', - performance.cache-invalidation: 'on', - performance.md-cache-timeout: '600', - network.inode-lru-limit: '200000', - performance.nl-cache: 'on', - performance.nl-cache-timeout: '600', - performance.readdir-ahead: 'on', - performance.parallel-readdir: 'on', - user.smb: 'on' - } +- name: Set volume options + gluster_volume: + state: present + name: "{{ gluster_cluster_volume }}" + options: + { + features.cache-invalidation: 'on', + features.cache-invalidation-timeout: '600', + performance.cache-samba-metadata: 'on', + performance.stat-prefetch: 'on', + performance.cache-invalidation: 'on', + performance.md-cache-timeout: '600', + network.inode-lru-limit: '200000', + performance.nl-cache: 'on', + performance.nl-cache-timeout: '600', + performance.readdir-ahead: 'on', + performance.parallel-readdir: 'on', + user.smb: 'on' + } run_once: true - name: Mount glusterfs using fuse mount and set world writable permissions |