Merge pull request #141 from ntfrnzn/pin-docker-version
pin docker versions to 1.9 or earlier
This commit is contained in:
commit
50364ab571
6 changed files with 23 additions and 5 deletions
1
roles/docker/defaults/main.yml
Normal file
1
roles/docker/defaults/main.yml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
docker_version: 1.9
|
|
@ -1,5 +1,7 @@
|
||||||
docker_kernel_min_version: '2.6.32-431'
|
docker_kernel_min_version: '2.6.32-431'
|
||||||
|
|
||||||
|
# versioning: docker-io itself is pinned at docker 1.5
|
||||||
|
|
||||||
docker_package_info:
|
docker_package_info:
|
||||||
pkg_mgr: yum
|
pkg_mgr: yum
|
||||||
pkgs:
|
pkgs:
|
||||||
|
|
|
@ -1,10 +1,15 @@
|
||||||
docker_kernel_min_version: '3.2'
|
docker_kernel_min_version: '3.2'
|
||||||
docker_version: 1.9.1-0~{{ ansible_distribution_release|lower }}
|
|
||||||
|
# https://apt.dockerproject.org/repo/dists/debian-wheezy/main/filelist
|
||||||
|
docker_versioned_pkg:
|
||||||
|
latest: docker-engine
|
||||||
|
1.9: docker-engine=1.9.1-0~{{ ansible_distribution_release|lower }}
|
||||||
|
1.10: docker-engine=1.10.0-0~{{ ansible_distribution_release|lower }}
|
||||||
|
|
||||||
docker_package_info:
|
docker_package_info:
|
||||||
pkg_mgr: apt
|
pkg_mgr: apt
|
||||||
pkgs:
|
pkgs:
|
||||||
- docker-engine={{ docker_version }}
|
- "{{ docker_versioned_pkg[docker_version] }}"
|
||||||
|
|
||||||
docker_repo_key_info:
|
docker_repo_key_info:
|
||||||
pkg_key: apt_key
|
pkg_key: apt_key
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
docker_kernel_min_version: '0'
|
docker_kernel_min_version: '0'
|
||||||
|
|
||||||
|
# versioning: docker-io itself is pinned at docker 1.5
|
||||||
|
|
||||||
docker_package_info:
|
docker_package_info:
|
||||||
pkg_mgr: yum
|
pkg_mgr: yum
|
||||||
pkgs:
|
pkgs:
|
||||||
|
|
|
@ -1,9 +1,13 @@
|
||||||
docker_kernel_min_version: '0'
|
docker_kernel_min_version: '0'
|
||||||
|
|
||||||
|
docker_versioned_pkg:
|
||||||
|
latest: docker
|
||||||
|
1.9: docker-1:1.9.1
|
||||||
|
|
||||||
docker_package_info:
|
docker_package_info:
|
||||||
pkg_mgr: dnf
|
pkg_mgr: dnf
|
||||||
pkgs:
|
pkgs:
|
||||||
- docker
|
- "{{ docker_versioned_pkg[docker_version] }}"
|
||||||
|
|
||||||
docker_repo_key_info:
|
docker_repo_key_info:
|
||||||
pkg_key: ''
|
pkg_key: ''
|
||||||
|
|
|
@ -1,10 +1,14 @@
|
||||||
docker_kernel_min_version: '3.2'
|
docker_kernel_min_version: '3.2'
|
||||||
docker_version: 1.9.0-0~{{ ansible_distribution_release }}
|
|
||||||
|
# https://apt.dockerproject.org/repo/dists/ubuntu-trusty/main/filelist
|
||||||
|
docker_versioned_pkg:
|
||||||
|
latest: docker-engine
|
||||||
|
1.9: docker-engine=1.9.0-0~{{ ansible_distribution_release|lower }}
|
||||||
|
|
||||||
docker_package_info:
|
docker_package_info:
|
||||||
pkg_mgr: apt
|
pkg_mgr: apt
|
||||||
pkgs:
|
pkgs:
|
||||||
- docker-engine={{ docker_version }}
|
- "{{ docker_versioned_pkg[docker_version] }}"
|
||||||
|
|
||||||
docker_repo_key_info:
|
docker_repo_key_info:
|
||||||
pkg_key: apt_key
|
pkg_key: apt_key
|
||||||
|
|
Loading…
Reference in a new issue