Files
provisioning/glusterfs.yml
richard 165e5ffe54 setup docker hosts to mount glusterfs mounts
move git.xai-corp.net to dkhost02
2017-05-26 09:10:07 -04:00

33 lines
638 B
YAML

---
# 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