|
|
@ -4,9 +4,10 @@ |
|
|
|
apt_key: id="F76221572C52609D" url=https://apt.dockerproject.org/gpg state=present |
|
|
|
|
|
|
|
- name: Add deb repository |
|
|
|
apt_repository: deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable |
|
|
|
state: present |
|
|
|
update_cache: yes |
|
|
|
apt_repository: |
|
|
|
repo: deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable |
|
|
|
state: present |
|
|
|
update_cache: yes |
|
|
|
|
|
|
|
- name: Install |
|
|
|
apt: pkg="{{ item }}" state=latest update_cache=yes |
|
|
|