diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml index b26c27c..77d7502 100644 --- a/roles/docker/tasks/main.yml +++ b/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