From b6455eefd0709cf8bac67a254c2e5a7913370eb3 Mon Sep 17 00:00:00 2001 From: Jan Benedikt Date: Tue, 17 Mar 2020 11:31:39 +0100 Subject: 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 Change-Id: I4786dcd4b2de3f8d189db3b619c3d75315302506 --- ansible/roles/docker/tasks/main.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'ansible/roles/docker/tasks/main.yml') 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: -- cgit 1.2.3-korg