summaryrefslogtreecommitdiffstats
path: root/ansible/test/roles/prepare-docker/tasks/docker-packages.yml
blob: 8f55c5ceaf0aaa043ad43ada103657bc6b828be1 (plain)
1
2
3
4
5
6
7
8
9
10
---

- name: Download docker related packages
  command: yumdownloader --destdir="{{ rpm_dir }}" "{{ docker_ce_rpm }}"
  args:
    creates: "{{ rpm_dir }}/{{ docker_ce_rpm }}"

- name: Install docker related packages
  yum:
    name: "{{ rpm_dir + '/' + docker_ce_rpm + '.rpm'}}"