Commit aace703c by Feanil Patel

Update to new docker package scheme and PPAs.

parent 5d0236ca
...@@ -5,9 +5,10 @@ docker_tools_deps_deb_pkgs: ...@@ -5,9 +5,10 @@ docker_tools_deps_deb_pkgs:
- ca-certificates - ca-certificates
- python-pip - python-pip
docker_apt_keyserver: "hkp://ha.pool.sks-keyservers.net:80" docker_apt_key_url: "https://download.docker.com/linux/ubuntu/gpg"
docker_apt_key_id: "58118E89F3A912897C070ADBF76221572C52609D" docker_repos:
docker_repo: "deb https://apt.dockerproject.org/repo ubuntu-xenial main" - "deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable"
- "deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} edge"
docker_group: "docker" docker_group: "docker"
docker_users: [] docker_users: []
...@@ -29,24 +29,23 @@ ...@@ -29,24 +29,23 @@
- name: add docker apt key - name: add docker apt key
apt_key: apt_key:
keyserver: "{{ docker_apt_keyserver }}" url: "{{ docker_apt_key_url }}"
id: "{{ docker_apt_key_id }}"
tags: tags:
- install - install
- install:configuration - install:configuration
- name: add docker repo - name: add docker repo
apt_repository: apt_repository:
repo: "{{ docker_repo }}" repo: "{{ item }}"
with_items: "{{ docker_repos }}"
tags: tags:
- install - install
- install:configuration - install:configuration
- name: install docker-engine - name: install docker-engine
apt: apt:
name: "docker-engine" name: "docker-ce"
update_cache: yes update_cache: yes
cache_valid_time: "{{ cache_valid_time }}"
tags: tags:
- install - install
- install:system-requirements - install:system-requirements
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment