Add first gluster volume back

This commit is contained in:
2022-09-07 21:56:09 -04:00
parent ffc56dd893
commit e6b7e104cd
6 changed files with 59 additions and 58 deletions

View 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]}}"