diff options
Diffstat (limited to 'vagrant/ansible/roles/client.prep/tasks')
-rw-r--r-- | vagrant/ansible/roles/client.prep/tasks/centos7.yml | 16 | ||||
-rw-r--r-- | vagrant/ansible/roles/client.prep/tasks/main.yml | 19 |
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 }}" |