summaryrefslogtreecommitdiffstats
path: root/ansible/test/roles/prepare-docker/tasks/docker-packages.yml
blob: b7e76c55ba7a4aaebdde0131b7575cbab23639e6 (plain)
1
2
3
4
5
6
7
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' }}"