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

@@ -14,16 +14,16 @@
- xfsprogs
- xfsdump
- name: Start service k3s, if not started
- name: Start service gluster, if not started
block:
- name: start on home
ansible.builtin.service:
name: glusterd
state: started
when: "ansible_lsb.major_release >= '20'"
# - name: start on home
# ansible.builtin.service:
# name: glusterd
# state: started
# when: "ansible_lsb.major_release >= '20'"
- name: start on cubox-i
ansible.builtin.service:
name: glusterfs-server
state: started
when: "ansible_lsb.major_release < '20'"
when: ansible_architecture == 'armv7l'