Add support for 32bit operating systems on 64bit arm hardware #302
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thanks a lot for providing this ansible role. It worked great for my 32 bit raspberrypi 3b running 32 bit linux and my 64 bit Odroid running 64 bit linux.
Unfortunately it didn't result in a working golang installation on my 64 bit Raspberry Pi 4b's running 32 bit linux. The operating system would keep reporting "No such file or directory" when I tried to execute the binary. It turned out that the ansible role only looks at the hardware architecture when choosing which binary to install.
This PR changes that behaviour slightly to also look at the
userspace_bits
fact, which will have the value 32 on 32bit OS's and 64 on 64bit OS's.I've tested the changed role on all my SBC's and it works like a charm.