From 01eb268fb39da89ea78acd919bac9662de96a4c0 Mon Sep 17 00:00:00 2001 From: Sachin Prabhu Date: Thu, 18 Feb 2021 00:23:26 +0000 Subject: Add distro specific actions for glusterfs.setup Signed-off-by: Sachin Prabhu --- vagrant/ansible/roles/glusterfs.setup/tasks/centos7.yml | 5 +++++ vagrant/ansible/roles/glusterfs.setup/tasks/main.yml | 10 ++++------ 2 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 vagrant/ansible/roles/glusterfs.setup/tasks/centos7.yml (limited to 'vagrant') 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 -- cgit