Comments (3)
I'm going to close this now. After a few goes of getting funky inconsistencies, I rebooted the device and now it's run successfully first time. I'll revisit on my next build, should it occur again.
from ansible-role-docker_arm.
I've just repeated the process on a fresh install, and see the same thing. /etc/apt/sources.list.d
has nothing docker related in it, then the playbook runs:
PLAY [docker_rpi] ************************************************************************************************************************************************************************************************
TASK [Gathering Facts] *******************************************************************************************************************************************************************************************
ok: [pi01]
TASK [geerlingguy.pip : Ensure Pip is installed.] ****************************************************************************************************************************************************************
ok: [pi01]
TASK [geerlingguy.pip : Ensure pip_install_packages are installed.] **********************************************************************************************************************************************
ok: [pi01] => (item={'name': 'setuptools'})
ok: [pi01] => (item={'name': 'docker'})
ok: [pi01] => (item={'name': 'docker-compose'})
TASK [geerlingguy.docker_arm : Check if Docker is already present.] **********************************************************************************************************************************************
ok: [pi01]
TASK [geerlingguy.docker_arm : Download Docker install convenience script.] **************************************************************************************************************************************
changed: [pi01]
TASK [geerlingguy.docker_arm : Run Docker install convenience script.] *******************************************************************************************************************************************
fatal: [br3pi01]: FAILED! => {"changed": true, "cmd": ["/tmp/get-docker.sh"], "delta": "0:00:06.216901", "end": "2022-03-28 18:44:40.943032", "msg": "non-zero return code", "rc": 100, "start": "2022-03-28 18:44:34.726131", "stderr": "+ sh -c apt-get update -qq >/dev/null\n+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null\n+ sh -c curl -fsSL \"https://download.docker.com/linux/debian/gpg\" | gpg --dearmor --yes -o /usr/share/keyrings/docker-archive-keyring.gpg\n+ sh -c echo \"deb [arch=arm64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian bullseye stable\" > /etc/apt/sources.list.d/docker.list\n+ sh -c apt-get update -qq >/dev/null\nE: Conflicting values set for option Signed-By regarding source https://download.docker.com/linux/debian/ bullseye: /usr/share/keyrings/docker-archive-keyring.gpg != \nE: The list of sources could not be read.", "stderr_lines": ["+ sh -c apt-get update -qq >/dev/null", "+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null", "+ sh -c curl -fsSL \"https://download.docker.com/linux/debian/gpg\" | gpg --dearmor --yes -o /usr/share/keyrings/docker-archive-keyring.gpg", "+ sh -c echo \"deb [arch=arm64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian bullseye stable\" > /etc/apt/sources.list.d/docker.list", "+ sh -c apt-get update -qq >/dev/null", "E: Conflicting values set for option Signed-By regarding source https://download.docker.com/linux/debian/ bullseye: /usr/share/keyrings/docker-archive-keyring.gpg != ", "E: The list of sources could not be read."], "stdout": "# Executing docker install script, commit: 93d2499759296ac1f9c510605fef85052a2c32be", "stdout_lines": ["# Executing docker install script, commit: 93d2499759296ac1f9c510605fef85052a2c32be"]}
PLAY RECAP *******************************************************************************************************************************************************************************************************
pi01 : ok=13 changed=1 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0
FWIW, this is the contents of /tmp/get-docker.sh:
# /tmp/get-docker.sh
# Executing docker install script, commit: 93d2499759296ac1f9c510605fef85052a2c32be
+ sh -c apt-get update -qq >/dev/null
E: Conflicting values set for option Signed-By regarding source https://download.docker.com/linux/debian/ bullseye: /usr/share/keyrings/docker-archive-keyring.gpg !=
E: The list of sources could not be read.
Thanks for any help you can provide.
from ansible-role-docker_arm.
I have upgraded the galaxy role from v4.0.0 to v5.0.0 to no avail. Now out of ideas myself.
from ansible-role-docker_arm.
Related Issues (20)
- Raspberry Pi OS - No package matching 'docker-ce' is available HOT 7
- Debian 9 CI tests failing due to lack of Python 3 HOT 4
- ubuntu-20.04.1-preinstalled-server-arm64+raspi supported? HOT 5
- Dryrun failing because of missing check_mode: no option in validation task HOT 8
- 'ERROR! no action detected in task.' when using 'docker_compose' HOT 4
- armv6 support HOT 3
- Error: /var/run/docker.sock: connect: permission denied HOT 2
- Installation failed on current Raspi OS (Debian 10.10) HOT 1
- feature wish: use the latest docker version for RaspianOS 32 bit HOT 8
- Error: Make sure Docker CE is the version specified HOT 1
- not able to install docker-compose on rpi 4 64bit HOT 7
- problem with geerlingguy.docker_arm HOT 2
- Version check fails for bullseye as defaults are set to buster HOT 8
- Unable to uninstall docker HOT 3
- Installing in recent Raspberry Pi OS (2022-01-28) fails due to nftables HOT 2
- Docker install script relocated HOT 3
- Install Docker Compose using Pip failes thanks to outdated Rust version 1.48 HOT 3
- Deprecate this role in favor of the regular docker role HOT 1
- The gpg keys on the get-docker.sh script dont work.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-role-docker_arm.