summaryrefslogtreecommitdiffstats
path: root/vagrant/ansible/roles/samba-glusterfs.setup/tasks/fix_share_permissions.yml
blob: f5db4e677509735f829745c2d8cd5b3279e74b6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
- name: Mount gluster volume using glusterfs
  mount:
    path: /mnt-fuse
    src: "{{ volume }}"
    fstype: glusterfs
    state: mounted

- name: Set permission of volume root to 0777
  file:
    path: /mnt-fuse
    mode: '0777'

- name: Unmount mounted fuse glusterfs mount
  mount:
    path: /mnt-fuse
    state: absent