|
@@ -22,7 +22,7 @@
|
|
# Note: The curr_docker_version.stdout check can be removed when https://github.com/ansible/ansible/issues/33187 gets fixed.
|
|
# Note: The curr_docker_version.stdout check can be removed when https://github.com/ansible/ansible/issues/33187 gets fixed.
|
|
- name: Install Docker
|
|
- name: Install Docker
|
|
package:
|
|
package:
|
|
- name: "docker{{ '-' + docker_version if docker_version is defined else '' }}"
|
|
|
|
|
|
+ name: "{{ l_docker_pkg_list | join(',') }}"
|
|
state: present
|
|
state: present
|
|
when:
|
|
when:
|
|
- not (openshift_is_atomic | bool)
|
|
- not (openshift_is_atomic | bool)
|
|
@@ -30,6 +30,11 @@
|
|
- not (curr_docker_version.stdout != '')
|
|
- not (curr_docker_version.stdout != '')
|
|
register: result
|
|
register: result
|
|
until: result is succeeded
|
|
until: result is succeeded
|
|
|
|
+ vars:
|
|
|
|
+ l_docker_pkg_list:
|
|
|
|
+ - "docker{{ '-' + docker_version if docker_version is defined else '' }}"
|
|
|
|
+ - atomic
|
|
|
|
+ - skopeo
|
|
|
|
|
|
- block:
|
|
- block:
|
|
# Extend the default Docker service unit file when using iptables-services
|
|
# Extend the default Docker service unit file when using iptables-services
|