Gluster mount options for systemd
This commit is contained in:
parent
08b06809f2
commit
b57bad9558
@ -40,9 +40,9 @@
|
|||||||
- name: Mount volume
|
- name: Mount volume
|
||||||
mount:
|
mount:
|
||||||
name: "{{ gluster.mount_dir }}"
|
name: "{{ gluster.mount_dir }}"
|
||||||
src: "{{ ansible_all_ipv4_addresses[0] }}:/{{ gluster.vol_name }}"
|
src: "{{ ansible_ens10.ipv4.address }}:/{{ gluster.vol_name }}"
|
||||||
fstype: glusterfs
|
fstype: glusterfs
|
||||||
opts: "defaults,_netdev"
|
opts: "defaults,_netdev,noauto,x-systemd.automount"
|
||||||
state: mounted
|
state: mounted
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user