Browse Source

pin docker version actually

pull/141/head
ntfrnzn 8 years ago
parent
commit
a4e32c748a
5 changed files with 22 additions and 5 deletions
  1. 2
      roles/docker/vars/centos-6.yml
  2. 9
      roles/docker/vars/debian.yml
  3. 2
      roles/docker/vars/fedora-20.yml
  4. 6
      roles/docker/vars/fedora.yml
  5. 8
      roles/docker/vars/ubuntu.yml

2
roles/docker/vars/centos-6.yml

@ -1,5 +1,7 @@
docker_kernel_min_version: '2.6.32-431'
# versioning: docker-io itself is pinned at docker 1.5
docker_package_info:
pkg_mgr: yum
pkgs:

9
roles/docker/vars/debian.yml

@ -1,10 +1,15 @@
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:
pkg_mgr: apt
pkgs:
- docker-engine={{ docker_version }}
- "{{ docker_versioned_pkg[docker_version] }}"
docker_repo_key_info:
pkg_key: apt_key

2
roles/docker/vars/fedora-20.yml

@ -1,5 +1,7 @@
docker_kernel_min_version: '0'
# versioning: docker-io itself is pinned at docker 1.5
docker_package_info:
pkg_mgr: yum
pkgs:

6
roles/docker/vars/fedora.yml

@ -1,9 +1,13 @@
docker_kernel_min_version: '0'
docker_versioned_pkg:
latest: docker
1.9: docker-1:1.9.1
docker_package_info:
pkg_mgr: dnf
pkgs:
- docker
- "{{ docker_versioned_pkg[docker_version] }}"
docker_repo_key_info:
pkg_key: ''

8
roles/docker/vars/ubuntu.yml

@ -1,10 +1,14 @@
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:
pkg_mgr: apt
pkgs:
- docker-engine={{ docker_version }}
- "{{ docker_versioned_pkg[docker_version] }}"
docker_repo_key_info:
pkg_key: apt_key

Loading…
Cancel
Save