summaryrefslogtreecommitdiffstats
path: root/vagrant/ansible/roles/glusterfs.setup/tasks/main.yml
blob: b6e34a5113a217afe6cd7e5e28605f77869abedc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
- include_role:
    name: gluster.infra

- name: Enable firewall rules for gluster
  firewalld: service=glusterfs permanent=yes state=enabled

- name: Ensure glusterd service is enabled
  service: name=glusterd state=started enabled=yes

- include_role:
    name: gluster.cluster
  vars:
    gluster_cluster_hosts: "{{ cluster_hosts }}"