Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

ubuntu-20.04.1-preinstalled-server-arm64+raspi supported? #16

Closed
jhalbrecht opened this issue Nov 14, 2020 · 5 comments
Closed

ubuntu-20.04.1-preinstalled-server-arm64+raspi supported? #16

jhalbrecht opened this issue Nov 14, 2020 · 5 comments
Labels

Comments

@jhalbrecht
Copy link

FWIW I'm a noob to ansible not to linux. I have successfully run some ad-hoc commands and playbooks against a vagrant virtualbox vm and my own rpi4 cluster.

I'm booting 64bit ubuntu-20.04.1-preinstalled-server-arm64+raspi on my Raspberry Pi 4 SBCs. I set the following defaults

docker_version_armv7: ubuntu-20.04.1-preinstalled-server-arm7+raspi
docker_version_arm64: ubuntu-20.04.1-preinstalled-server-arm64+raspi
docker_version: "{{ docker_version_armv7 if 'armv7' in ansible_architecture else docker_version_arm64 }}" 

resulting in 'not found' in the TASK [geerlingguy.docker_arm : Make sure Docker CE is the version specified.]

is the rpi 64bit ubuntu compatible with ansible-role-docker_arm? If so how might I properly configure / overide the defaults?

Also is the rpi 4 arm v8?

@geerlingguy
Copy link
Owner

The Raspberry Pi 4 does have an armv8 processor. Note that Pi OS is by default 32-bit (to maintain compatibility all the way back to the original Pi), but there is a 64-bit beta that is also available now.

@jhalbrecht
Copy link
Author

is the rpi 64bit ubuntu compatible with ansible-role-docker_arm? If so how might I properly configure / overide the defaults?

How very not ansible, but I sshed in to the client host to find docker running and I accomplished the 'hello world' apparently the TASK [geerlingguy.docker_arm : Make sure Docker CE is the version specified.] failed and the sudo. Jeff in twitter indicates I should look for docker_users var to set user ubuntu rather than pi.

image

@hassiweb
Copy link
Contributor

In my environment, this playbook installed the version of 5:20.10.2~3-0~ubuntu-focal in Ubuntu 64bit on RPi 4B.
Also, 5:19.03.9~3-0~debian-buster, which is defined in defualts/main.yml, cannot be found using apt-cache policy docker-ce because of the difference ansible_distribution (Raspberry Pi OS shows it as Debian, and Ubuntu shows Ubuntu).
This is why the error occurred because the docker version is not matched with docker_version_arm64: 5:19.03.9~3-0~debian-buster.

So, I guess this playbook was made for Raspberry Pi OS or other Debian-based OSes, not Ubuntu.

@stale
Copy link

stale bot commented May 3, 2021

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.

@stale stale bot added the stale label May 3, 2021
@stale
Copy link

stale bot commented Jun 2, 2021

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.

@stale stale bot closed this as completed Jun 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants