Browse Source

fix-docker

pull/5/head
fedy95 5 years ago
parent
commit
9c95e391bb
  1. 7
      roles/docker/tasks/main.yml

7
roles/docker/tasks/main.yml

@ -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