Add first gluster volume back
This commit is contained in:
12
ansible-5/roles/glusterfs-server/tasks/volumes/fstab.yaml
Normal file
12
ansible-5/roles/glusterfs-server/tasks/volumes/fstab.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
# tasks/volumes/fstab
|
||||
# setup storage volumes
|
||||
|
||||
- name: Create fstab entries
|
||||
ansible.posix.mount:
|
||||
path: "{{ mounts.paths[item.name] }}"
|
||||
src: "{{ item.src }}"
|
||||
fstype: "xfs"
|
||||
opts: "defaults,noatime,nofail,x-systemd.device-timeout=10 0 0"
|
||||
state: "{{ item.status }}"
|
||||
with_items: "{{mounts[inventory_hostname]}}"
|
||||
Reference in New Issue
Block a user