diff options
author | Sachin Prabhu <sprabhu@redhat.com> | 2020-07-17 15:15:21 +0100 |
---|---|---|
committer | spuiuk <sachin.prabhu@gmail.com> | 2020-08-24 12:26:57 +0100 |
commit | b023fb0d43cd194db4810fb675a94a64e50ddb4c (patch) | |
tree | 5ba1af55dfaa6d75acde66df09f0d8c94cddecbc | |
parent | ef5a700db91332070c67db6c62292253fa9209dc (diff) | |
download | samba-integration-b023fb0d43cd194db4810fb675a94a64e50ddb4c.tar.gz samba-integration-b023fb0d43cd194db4810fb675a94a64e50ddb4c.tar.xz samba-integration-b023fb0d43cd194db4810fb675a94a64e50ddb4c.zip |
Enable gluster service and open up gluster ports
At this moment this is done by the gluster-cluster ansible scripts.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
-rw-r--r-- | vagrant/ansible/roles/glusterfs.setup/tasks/main.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vagrant/ansible/roles/glusterfs.setup/tasks/main.yml b/vagrant/ansible/roles/glusterfs.setup/tasks/main.yml index 09d75f4..b6e34a5 100644 --- a/vagrant/ansible/roles/glusterfs.setup/tasks/main.yml +++ b/vagrant/ansible/roles/glusterfs.setup/tasks/main.yml @@ -1,6 +1,12 @@ - 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: |