summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Prabhu <sprabhu@redhat.com>2021-02-18 00:45:21 +0000
committerAnoop C S <anoopcs@cryptolab.net>2021-03-23 16:47:53 +0530
commitfae1e877585c4dc2e6cb364d8f195399a12ec54e (patch)
tree6399bc704a8b6ed6a783ea1a20d95998df85fea8
parent201bd195b365ede65b88801c5584b5c86da31fde (diff)
downloadsamba-integration-fae1e877585c4dc2e6cb364d8f195399a12ec54e.tar.gz
samba-integration-fae1e877585c4dc2e6cb364d8f195399a12ec54e.tar.xz
samba-integration-fae1e877585c4dc2e6cb364d8f195399a12ec54e.zip
Add distro specific tasks for client.prep
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
-rw-r--r--vagrant/ansible/roles/client.prep/tasks/centos7.yml16
-rw-r--r--vagrant/ansible/roles/client.prep/tasks/main.yml19
2 files changed, 19 insertions, 16 deletions
diff --git a/vagrant/ansible/roles/client.prep/tasks/centos7.yml b/vagrant/ansible/roles/client.prep/tasks/centos7.yml
new file mode 100644
index 0000000..cf0a903
--- /dev/null
+++ b/vagrant/ansible/roles/client.prep/tasks/centos7.yml
@@ -0,0 +1,16 @@
+- name: Install required packages
+ yum:
+ name:
+ - glusterfs-fuse
+ - cifs-utils
+ - samba-test
+ - python-pip
+ - git
+ state: latest
+
+- name: Install Python 3 modules
+ pip:
+ executable: /usr/bin/pip3
+ name:
+ - PyYAML
+ - iso8601
diff --git a/vagrant/ansible/roles/client.prep/tasks/main.yml b/vagrant/ansible/roles/client.prep/tasks/main.yml
index 2a78698..c6bdc32 100644
--- a/vagrant/ansible/roles/client.prep/tasks/main.yml
+++ b/vagrant/ansible/roles/client.prep/tasks/main.yml
@@ -1,19 +1,6 @@
-- name: Install required packages
- yum:
- name:
- - glusterfs-fuse
- - cifs-utils
- - samba-test
- - python-pip
- - git
- state: latest
-
-- name: Install Python 3 modules
- pip:
- executable: /usr/bin/pip3
- name:
- - PyYAML
- - iso8601
+- name: Run distro specific tasks for client.prep
+ include_tasks:
+ file: "{{ distro.actions_file }}"
- debug:
msg: "{{ ctdb_network_public_interfaces }}"