--- # playbook for home02 - hosts: gfs remote_user: ansible gather_facts: yes become: true vars: cluster: - cubox-i.xai-corp.net # - home mountpoints: - /data/glusterfs/vmshares/brick1 - /data/glusterfs/gitea/brick1 - /data/glusterfs/jenkins/brick1 volumes: vmshares: - /data/glusterfs/vmshares/brick1/brick gitea: - /data/glusterfs/gitea/brick1/brick jenkins: - /data/glusterfs/jenkins/brick1/brick roles: - glusterfs # - td-agent-bit post_tasks: - name: check service is up service: name=glusterfs-server state=started