Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get dpkg-formatted arch and use it for docker apt repo #148

Merged
merged 2 commits into from
Aug 30, 2023
Merged

Get dpkg-formatted arch and use it for docker apt repo #148

merged 2 commits into from
Aug 30, 2023

Conversation

codyro
Copy link
Collaborator

@codyro codyro commented Aug 9, 2023

Should pass CI checks, tested against Jammy amd64/arm64. Ansible has no built-in facts that return the format that apt/dpkg is looking for (EX; ansible_architecture).

- Fixes #130
- Tested against amd64/arm64
…use standard existing one

- Path exists on at least Ubuntu >= 22.04, Debian 10, Debian 11
@codyro
Copy link
Collaborator Author

codyro commented Aug 9, 2023

Added small tweak that addresses/resolves #123

@snowe2010
Copy link

Tested and worked for programming.dev

@Nutomic
Copy link
Member

Nutomic commented Aug 11, 2023

@iheart2code Does this work for you?

@snowe2010 Which architecture does programming.dev use?

@Harrisoned
Copy link

Can confirm it working on a Debian GNU/Linux 11 (bullseye).

@omalaspinas
Copy link

omalaspinas commented Aug 20, 2023

Worked for me too (debian 11).

Copy link
Member

@dessalines dessalines left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thx!

@dessalines dessalines merged commit 627432b into LemmyNet:main Aug 30, 2023
@snowe2010
Copy link

@Nutomic sorry, somehow missed your tag. programming.dev is on x86_64, though I'm not sure that's exactly what you're asking?

snowe2010 pushed a commit to programming-dot-dev/lemmy-ansible that referenced this pull request Jan 30, 2024
* Get dpkg-formatted arch and use it for docker apt repo

- Fixes LemmyNet#130
- Tested against amd64/arm64

* Add conditional for dpkg command (Debian/Ubuntu), Adjust GPG path to use standard existing one

- Path exists on at least Ubuntu >= 22.04, Debian 10, Debian 11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ansible setup has hard dependency on amd64
6 participants