Pin Docker version to 1.8.2

Currently Ansible have issues with Docker 1.8.3. We have to pin
version to 1.8.2 before including fix [1] in tagged Ansible
version.

[1] https://github.com/ansible/ansible-modules-core/pull/2258

Change-Id: If802ff118782ec521acfff00e286cde703bf37b3
This commit is contained in:
Michal Rostecki 2015-10-15 07:34:44 +02:00
parent 63a2f61bc8
commit 3baa57ddb7

View File

@ -45,6 +45,11 @@ enabled=1
gpgcheck=1 gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg gpgkey=https://yum.dockerproject.org/gpg
EOF EOF
# Pin Docker version to 1.8.2 before including this change
# https://github.com/ansible/ansible-modules-core/pull/2258
# in some tagged version of Ansible.
yum install -y yum-plugin-versionlock
yum versionlock add docker-engine-1.8.2-1.el7.centos.*
# Also upgrade device-mapper here because of: # Also upgrade device-mapper here because of:
# https://github.com/docker/docker/issues/12108 # https://github.com/docker/docker/issues/12108
yum install -y docker-engine device-mapper yum install -y docker-engine device-mapper