ansible – glusterfs pool

# ansible-galaxy collection install ansible.posix
# ansible-galaxy collection install community.general
# ansible-galaxy collection install gluster.gluster
#
---
- name: glusterfs pool create
  hosts: glusterfs
  become: true

  tasks:
  - name: glusterfs a trusted storage pool create
    gluster.gluster.gluster_peer:
      state: present
      nodes:
      - gl1.domain.local
      - gl2.domain.local
      - gl3.domain.local
  run_once: true
...

Leave a Reply

Your email address will not be published. Required fields are marked *