diff options
Diffstat (limited to 'vagrant')
-rw-r--r-- | vagrant/ansible/roles/glusterfs.setup/tasks/centos7.yml | 5 | ||||
-rw-r--r-- | vagrant/ansible/roles/glusterfs.setup/tasks/main.yml | 10 |
2 files changed, 9 insertions, 6 deletions
diff --git a/vagrant/ansible/roles/glusterfs.setup/tasks/centos7.yml b/vagrant/ansible/roles/glusterfs.setup/tasks/centos7.yml new file mode 100644 index 0000000..9e40547 --- /dev/null +++ b/vagrant/ansible/roles/glusterfs.setup/tasks/centos7.yml @@ -0,0 +1,5 @@ +# https://github.com/gluster/samba-integration/issues/123 +- name: Install glusterfs-geo-replication package. + yum: + name: glusterfs-geo-replication + state: latest diff --git a/vagrant/ansible/roles/glusterfs.setup/tasks/main.yml b/vagrant/ansible/roles/glusterfs.setup/tasks/main.yml index b7ca5bd..2fa024a 100644 --- a/vagrant/ansible/roles/glusterfs.setup/tasks/main.yml +++ b/vagrant/ansible/roles/glusterfs.setup/tasks/main.yml @@ -1,15 +1,13 @@ +- name: Run distro specific tasks for glusterfs.setup + include_tasks: + file: "{{ distro.actions_file }}" + - include_role: name: gluster.infra - name: Enable firewall rules for gluster firewalld: service=glusterfs permanent=yes state=enabled -# https://github.com/gluster/samba-integration/issues/123 -- name: Install glusterfs-geo-replication package. - yum: - name: glusterfs-geo-replication - state: latest - - name: Ensure glusterd service is enabled service: name=glusterd state=started enabled=yes |