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..."]}
I run the playbook:
hosts: docker
vars: pip_package: python3-pip
docker_version_armv6: 5:20.10.8~3-0~raspbian-buster docker_version_armv7: 5:20.10.8~3-0~raspbian-buster docker_version_arm64: 5:20.10.8~3-0~raspbian-buster docker_version: "{{ docker_version_armv7 if 'armv7' in ansible_architecture else docker_version_armv6 if 'armv6' in ansible_architecture else docker_version_arm64 }}"
roles:
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..."]}