Bartek Grzybowski | a222de9 | 2019-04-29 16:13:49 +0200 | [diff] [blame] | 1 | --- |
| 2 | |
| 3 | - name: Download docker related packages |
| 4 | command: yumdownloader --destdir="{{ rpm_dir }}" "{{ docker_ce_rpm }}" "{{ docker_ce_selinux_rpm }}" |
Bartek Grzybowski | 280ef8d | 2019-05-14 12:12:38 +0200 | [diff] [blame] | 5 | args: |
| 6 | creates: "{{ rpm_dir }}/{{ docker_ce_selinux_rpm }}" |
Bartek Grzybowski | a222de9 | 2019-04-29 16:13:49 +0200 | [diff] [blame] | 7 | |
| 8 | - name: Install docker related packages |
| 9 | yum: |
| 10 | name: "{{ rpm_dir + '/' + docker_ce_rpm + '.rpm'}},{{ rpm_dir + '/' + docker_ce_selinux_rpm + '.rpm' }}" |