mount partitions for glusterfs volumes

This commit is contained in:
2021-12-26 09:33:23 -05:00
parent 697b00fa4e
commit 74a32b4a02
8 changed files with 263 additions and 44 deletions

View File

@@ -0,0 +1,11 @@
---
# set mount points in fstab
- name: Create fstab entries
ansible.posix.mount:
path: "{{ item.value.path }}"
src: "{{ item.value.src }}"
fstype: "{{ item.value.fstype }}"
opts: "{{ item.value.options }}"
state: mounted
with_dict: "{{machines[inventory_hostname].fstab.add}}"