summaryrefslogtreecommitdiffstats
path: root/ansible/test/roles/prepare-docker/tasks/prepare-docker-repos.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/test/roles/prepare-docker/tasks/prepare-docker-repos.yml')
-rw-r--r--ansible/test/roles/prepare-docker/tasks/prepare-docker-repos.yml12
1 files changed, 10 insertions, 2 deletions
diff --git a/ansible/test/roles/prepare-docker/tasks/prepare-docker-repos.yml b/ansible/test/roles/prepare-docker/tasks/prepare-docker-repos.yml
index 26f89d64..f35ffeee 100644
--- a/ansible/test/roles/prepare-docker/tasks/prepare-docker-repos.yml
+++ b/ansible/test/roles/prepare-docker/tasks/prepare-docker-repos.yml
@@ -7,8 +7,16 @@
gpgcheck: true
gpgkey: https://download.docker.com/linux/centos/gpg
-- name: Install docker python bindings
- import_tasks: python-bindings.yml
+- name: Create rpm dir
+ file:
+ path: "{{ rpm_dir }}"
+ state: directory
+
+- name: Handle python2-docker dependency needed by Ansible's docker_* modules
+ import_tasks: python2-docker.yml
+
+- name: Handle docker-ce packages
+ import_tasks: docker-packages.yml
- name: Fake dockerd on container
import_tasks: docker-socket-override.yml