Giter Site home page Giter Site logo

Comments (10)

DJviolin avatar DJviolin commented on May 24, 2024 2

docker_apt_arch: arm64 did the trick for me, too! Thank You!

from ansible-role-docker.

j-koehler avatar j-koehler commented on May 24, 2024

Hm thats strange. I'm running Raspbian/Raspberry OS as well (also Bullseye) and it worked super good so with some minor adjustments (but did not do a basic setup for quite some time (5.0.0 - it's 6.1.0 now)).

To figure out whats going on - could you add some debug step to your playbook? What would be interesting is probably

{{ ansible_architecture }}
{{ docker_apt_arch }}
{{ docker_apt_repository }}

(Imho) this should be the major variables giving more insight on this.

from ansible-role-docker.

paranerd avatar paranerd commented on May 24, 2024

Sure, here you go:

from ansible-role-docker.

paranerd avatar paranerd commented on May 24, 2024

Did some testing and have some confusing findings:

When I set docker_apt_arch: arm64 manually, everything seems to work fine. This was to be expected.

The confusing part comes here:
Having docker_apt_arch2: "{{ 'arm64' if ansible_architecture == 'aarch64' else 'amd64' }}" in my vars: I get the expected arm64.

from ansible-role-docker.

j-koehler avatar j-koehler commented on May 24, 2024

When I set docker_apt_arch: arm64 manually, everything seems to work fine. This was to be expected.

Yeah back in the days™ i used this. Looks like on some way to the current version Jeff introduced the improved automatic detection.

This is really strange though. I can not spot any obvious error (especially since you do this with just an additional variable and there it works) and unfortunately my Ansible knowledge ends here (working just fro looking at things without trying it out - and I don't have a spare Raspi to actually try it/not enough experience to use Ansible to "provision" a running Docker container)

From my perspective you could easily solve this by just setting/overwriting docker_apt_arch, no? Bit hacky solution but maybe the fastest way to get things done.

from ansible-role-docker.

paranerd avatar paranerd commented on May 24, 2024

Thank you for looking into this.
I will probably go with the workaround of setting docker_apt_arch: arm64 manually.
Still keeping this issue open, maybe someone else stumbles upon it 😊

from ansible-role-docker.

j-koehler avatar j-koehler commented on May 24, 2024

What you could do: run in dry and verbose mode, maybe you can see something from this or post the logfile.

from ansible-role-docker.

stale avatar stale commented on May 24, 2024

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

from ansible-role-docker.

github-actions avatar github-actions commented on May 24, 2024

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

from ansible-role-docker.

github-actions avatar github-actions commented on May 24, 2024

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

from ansible-role-docker.

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.