Commit aace703c by Feanil Patel

Update to new docker package scheme and PPAs.

parent 5d0236ca
......@@ -5,9 +5,10 @@ docker_tools_deps_deb_pkgs:
- ca-certificates
- python-pip
docker_apt_keyserver: "hkp://ha.pool.sks-keyservers.net:80"
docker_apt_key_id: "58118E89F3A912897C070ADBF76221572C52609D"
docker_repo: "deb https://apt.dockerproject.org/repo ubuntu-xenial main"
docker_apt_key_url: "https://download.docker.com/linux/ubuntu/gpg"
docker_repos:
- "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_users: []
......@@ -29,24 +29,23 @@
- name: add docker apt key
apt_key:
keyserver: "{{ docker_apt_keyserver }}"
id: "{{ docker_apt_key_id }}"
url: "{{ docker_apt_key_url }}"
tags:
- install
- install:configuration
- name: add docker repo
apt_repository:
repo: "{{ docker_repo }}"
repo: "{{ item }}"
with_items: "{{ docker_repos }}"
tags:
- install
- install:configuration
- name: install docker-engine
apt:
name: "docker-engine"
name: "docker-ce"
update_cache: yes
cache_valid_time: "{{ cache_valid_time }}"
tags:
- install
- 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