installing docker fails on ubuntu 16.10
Summary
Docker cannot be installed on ubuntu yaketty (16.10)
Steps to reproduce
inventory
:
localhost ansible_connection=local
test.yml
:
---
- hosts: localhost
roles:
- role: "docker"
action: "{{ action }}"
ansible-playbook -i inventory -e action=install test.yml
Expected behavior
docker is installed, everything works fine.
Actual behavior
step TASK [docker : install Docker]
fails.
Relevant logs and/or screenshots
Appears to be a problem with packages:
sh -c 'apt-key adv -k 58118E89F3A912897C070ADBF76221572C52609D >/dev/null'
Warning: apt-key output should not be parsed (stdout is not a terminal)
+ sh -c 'mkdir -p /etc/apt/sources.list.d'
++ dpkg --print-architecture
+ sh -c 'echo deb \[arch=amd64\] https://apt.dockerproject.org/repo ubuntu-yakkety main > /etc/apt/sources.list.d/docker.list'
+ sh -c 'sleep 3; apt-get update; apt-get install -y -q docker-engine'
Hit:1 http://TASK.clouds.archive.ubuntu.com/ubuntu yakkety InRelease
Hit:2 http://TASK.clouds.archive.ubuntu.com/ubuntu yakkety-updates InRelease
Hit:3 http://security.ubuntu.com/ubuntu yakkety-security InRelease
Get:4 http://TASK.clouds.archive.ubuntu.com/ubuntu yakkety-backports InRelease [102 kB]
Hit:5 https://apt.dockerproject.org/repo ubuntu-yakkety InRelease
Fetched 102 kB in 0s (152 kB/s)
Reading package lists... Done
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package docker-engine
Possible fixes
No idea.