geerlingguy / ansible-role-docker_arm

Ansible Role - Docker for ARM and Pi
MIT License
98 stars 29 forks source link

Error: Make sure Docker CE is the version specified #26

Closed stsch83 closed 3 years ago

stsch83 commented 3 years ago

I run the playbook:

and get the following error.

Any ideas?

TASK [geerlingguy.pip : Ensure Pip is installed.] **** changed: [192.168.65.141]

TASK [geerlingguy.pip : Ensure pip_install_packages are installed.] **

TASK [geerlingguy.docker_arm : Check if Docker is already present.] ** ok: [192.168.65.141]

TASK [geerlingguy.docker_arm : Download Docker install convenience script.] ** changed: [192.168.65.141]

TASK [geerlingguy.docker_arm : Run Docker install convenience script.] *** changed: [192.168.65.141]

TASK [geerlingguy.docker_arm : Make sure Docker CE is the version specified.] **** fatal: [192.168.65.141]: FAILED! => {"cache_update_time": 1628755456, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" --force-yes install 'docker-ce=5:20.10.8~3-0~raspbian-buster'' failed: W: --force-yes is deprecated, use one of the options starting with --allow instead.\nE: Version '5:20.10.8~3-0~raspbian-buster' for 'docker-ce' was not found\n", "rc": 100, "stderr": "W: --force-yes is deprecated, use one of the options starting with --allow instead.\nE: Version '5:20.10.8~3-0~raspbian-buster' for 'docker-ce' was not found\n", "stderr_lines": ["W: --force-yes is deprecated, use one of the options starting with --allow instead.", "E: Version '5:20.10.8~3-0~raspbian-buster' for 'docker-ce' was not found"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information..."]}

stsch83 commented 3 years ago

apt-cache madison docker-ce to read all available versions in you package