diff options
author | Jan Benedikt <j.benedikt@partner.samsung.com> | 2020-03-17 11:31:39 +0100 |
---|---|---|
committer | Jan Benedikt <j.benedikt@partner.samsung.com> | 2020-04-23 16:14:54 +0200 |
commit | b6455eefd0709cf8bac67a254c2e5a7913370eb3 (patch) | |
tree | 35989b038c1b6291e98c596b3254247de8f01094 /ansible/roles/docker/tasks | |
parent | 4fd6349133f5ffbd96795dedd4549ef0612c9ab5 (diff) |
Adding Ubuntu support in Ansible - docker role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in docker role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I4786dcd4b2de3f8d189db3b619c3d75315302506
Diffstat (limited to 'ansible/roles/docker/tasks')
-rw-r--r-- | ansible/roles/docker/tasks/main.yml | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/ansible/roles/docker/tasks/main.yml b/ansible/roles/docker/tasks/main.yml index cd731b11..60060826 100644 --- a/ansible/roles/docker/tasks/main.yml +++ b/ansible/roles/docker/tasks/main.yml @@ -6,16 +6,11 @@ notify: - Restart Docker -- name: Install docker python module +- name: Install required packages package: - name: 'python-docker-py' - state: present - - -- name: Install python jsonpointer module - package: - name: 'python-jsonpointer' + name: "{{ item }}" state: present + loop: "{{ packages[ansible_os_family] }}" - name: Ensure /etc/docker exists file: |