diff options
author | Sachin Prabhu <sprabhu@redhat.com> | 2021-02-18 00:19:24 +0000 |
---|---|---|
committer | Anoop C S <anoopcs@cryptolab.net> | 2021-03-23 16:47:53 +0530 |
commit | dfb23d5b25861f543dda1b04ed4686b89c0a25c5 (patch) | |
tree | 2a4927a82de651a60341b9f4dbde93caa1ac4854 | |
parent | c843fa481bc860f538a546e3a2e86c7314cffed2 (diff) | |
download | samba-integration-dfb23d5b25861f543dda1b04ed4686b89c0a25c5.tar.gz samba-integration-dfb23d5b25861f543dda1b04ed4686b89c0a25c5.tar.xz samba-integration-dfb23d5b25861f543dda1b04ed4686b89c0a25c5.zip |
Add distro specific actions for node.prep
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
-rw-r--r-- | vagrant/ansible/roles/node.prep/tasks/centos7.yml | 18 | ||||
-rw-r--r-- | vagrant/ansible/roles/node.prep/tasks/main.yml | 21 |
2 files changed, 21 insertions, 18 deletions
diff --git a/vagrant/ansible/roles/node.prep/tasks/centos7.yml b/vagrant/ansible/roles/node.prep/tasks/centos7.yml new file mode 100644 index 0000000..6831e1f --- /dev/null +++ b/vagrant/ansible/roles/node.prep/tasks/centos7.yml @@ -0,0 +1,18 @@ +- name: Install GlusterFS rpms + yum: + name: "{{ gluster_rpms }}" + state: latest + vars: + gluster_rpms: + - glusterfs-server + +- name: Install basic tools + yum: + name: "{{ tools }}" + state: latest + vars: + tools: + - lvm2 + - firewalld + - libselinux-python + diff --git a/vagrant/ansible/roles/node.prep/tasks/main.yml b/vagrant/ansible/roles/node.prep/tasks/main.yml index 6831e1f..0c91379 100644 --- a/vagrant/ansible/roles/node.prep/tasks/main.yml +++ b/vagrant/ansible/roles/node.prep/tasks/main.yml @@ -1,18 +1,3 @@ -- name: Install GlusterFS rpms - yum: - name: "{{ gluster_rpms }}" - state: latest - vars: - gluster_rpms: - - glusterfs-server - -- name: Install basic tools - yum: - name: "{{ tools }}" - state: latest - vars: - tools: - - lvm2 - - firewalld - - libselinux-python - +- name: Run distro specific tasks for node.prep + include_tasks: + file: "{{ distro.actions_file }}" |