summaryrefslogtreecommitdiffstats
path: root/ansible/test/roles/prepare-docker/tasks/docker-packages.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/test/roles/prepare-docker/tasks/docker-packages.yml')
-rw-r--r--ansible/test/roles/prepare-docker/tasks/docker-packages.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/ansible/test/roles/prepare-docker/tasks/docker-packages.yml b/ansible/test/roles/prepare-docker/tasks/docker-packages.yml
new file mode 100644
index 00000000..b7e76c55
--- /dev/null
+++ b/ansible/test/roles/prepare-docker/tasks/docker-packages.yml
@@ -0,0 +1,8 @@
+---
+
+- name: Download docker related packages
+ command: yumdownloader --destdir="{{ rpm_dir }}" "{{ docker_ce_rpm }}" "{{ docker_ce_selinux_rpm }}"
+
+- name: Install docker related packages
+ yum:
+ name: "{{ rpm_dir + '/' + docker_ce_rpm + '.rpm'}},{{ rpm_dir + '/' + docker_ce_selinux_rpm + '.rpm' }}"