Comments (10)
docker_apt_arch: arm64
did the trick for me, too! Thank You!
from ansible-role-docker.
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.
Sure, here you go:
- ansible_architecture: aarch64
- docker_apt_arch: amd64
- docker_apt_repository: deb [arch=amd64] https://download.docker.com/linux/debian bullseye stable
from ansible-role-docker.
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.
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.
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.
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.
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.
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.
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)
- gnupg task installation fails on Ubuntu 20.04.x unless update_cache: true HOT 8
- Debian: add `signed-by` param to the apt list HOT 3
- Setting hosts in docker_daemon_opts variable on a debian 11 host breaks docker HOT 8
- Option to install rootless HOT 4
- Molecule support in GitLab CI HOT 3
- Unable to install a specific version of docker on ubuntu HOT 6
- Run playbook HOT 1
- Idempotence test failed HOT 3
- feature: use ansible facts HOT 3
- Amazon Linux 2023 support HOT 1
- docker-compose-plugin install fails on arch HOT 6
- geerlingguy.docker was NOT installed successfully HOT 4
- error in first run during check if there are any users to add to docker group HOT 2
- Failure when adding docker repository HOT 6
- GPG keys should not be saved to `/apt/trusted.gpg.d` / Do not use `apt-key` HOT 2
- Playbook Fails with error when uninstalling HOT 1
- Reload system config at start HOT 1
- ansible.builtin.include has been removed Error while installing docker role HOT 1
- no /etc/docker/daemon.json ? HOT 1
- Fix min_ansible_version type
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.