diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-01-17 17:27:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-17 17:27:49 -0500 |
commit | a2d9da8c95511c968a6b7d4c1247f017df14a5ce (patch) | |
tree | f2d287aa95dd025dff86887924ad20857b6b2cac /playbooks/common/openshift-cluster/upgrades | |
parent | 9f7c33ec57e46bd79a59bd2b0c9a43326e26b492 (diff) | |
parent | 74fb19c6c6089affeb71a4957032abe961e77bc4 (diff) | |
download | openshift-a2d9da8c95511c968a6b7d4c1247f017df14a5ce.tar.gz openshift-a2d9da8c95511c968a6b7d4c1247f017df14a5ce.tar.bz2 openshift-a2d9da8c95511c968a6b7d4c1247f017df14a5ce.tar.xz openshift-a2d9da8c95511c968a6b7d4c1247f017df14a5ce.zip |
Merge pull request #2786 from dgoodwin/docker-1.12
Begin requiring Docker 1.12.
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades')
-rw-r--r-- | playbooks/common/openshift-cluster/upgrades/docker/upgrade_check.yml | 6 | ||||
-rw-r--r-- | playbooks/common/openshift-cluster/upgrades/pre/verify_docker_upgrade_targets.yml | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/docker/upgrade_check.yml b/playbooks/common/openshift-cluster/upgrades/docker/upgrade_check.yml index e3379f29b..b2a2eac9a 100644 --- a/playbooks/common/openshift-cluster/upgrades/docker/upgrade_check.yml +++ b/playbooks/common/openshift-cluster/upgrades/docker/upgrade_check.yml @@ -30,9 +30,9 @@ changed_when: false - fail: - msg: This playbook requires access to Docker 1.10 or later - # Disable the 1.10 requirement if the user set a specific Docker version - when: docker_version is not defined and (docker_upgrade is not defined or docker_upgrade | bool == True) and (pkg_check.rc == 0 and (avail_docker_version.stdout == "" or avail_docker_version.stdout | version_compare('1.10','<'))) + msg: This playbook requires access to Docker 1.12 or later + # Disable the 1.12 requirement if the user set a specific Docker version + when: docker_version is not defined and (docker_upgrade is not defined or docker_upgrade | bool == True) and (pkg_check.rc == 0 and (avail_docker_version.stdout == "" or avail_docker_version.stdout | version_compare('1.12','<'))) # Default l_docker_upgrade to False, we'll set to True if an upgrade is required: - set_fact: diff --git a/playbooks/common/openshift-cluster/upgrades/pre/verify_docker_upgrade_targets.yml b/playbooks/common/openshift-cluster/upgrades/pre/verify_docker_upgrade_targets.yml index ba4d77617..7646e0fa6 100644 --- a/playbooks/common/openshift-cluster/upgrades/pre/verify_docker_upgrade_targets.yml +++ b/playbooks/common/openshift-cluster/upgrades/pre/verify_docker_upgrade_targets.yml @@ -19,5 +19,5 @@ when: openshift.common.is_atomic | bool - fail: - msg: This playbook requires access to Docker 1.10 or later - when: openshift.common.is_atomic | bool and l_docker_version.avail_version | default(l_docker_version.curr_version, true) | version_compare('1.10','<') + msg: This playbook requires access to Docker 1.12 or later + when: openshift.common.is_atomic | bool and l_docker_version.avail_version | default(l_docker_version.curr_version, true) | version_compare('1.12','<') |