Ansible: no package available for docker-ce
问题 I want to install Docker on a remote machine with Ubuntu 16.04, using Ansible and following the official docs at https://docs.docker.com/engine/installation/linux/ubuntu/. All seems to work, until ansible reaches the task with name "install Docker", I get "No package matching 'docker-ce' is available". The following part of the playbook, from the point where the repository is set: - name: set the stable repository apt_repository: repo: deb [arch=amd64] https://download.docker.com/linux/ubuntu