Git Product home page Git Product logo

Comments (3)

jonathantullett avatar jonathantullett commented on May 28, 2024 1

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.

jonathantullett avatar jonathantullett commented on May 28, 2024

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.

jonathantullett avatar jonathantullett commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.