Skip to content

Conversation

@eb4x
Copy link
Collaborator

@eb4x eb4x commented Apr 1, 2025

SUMMARY

Zabbix 7.2 put arm64 packages in the main repo for debian and ubuntu, so no need to postfix with -arm64 anymore.
This fixes #1491

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

roles/zabbix_repo

ADDITIONAL INFORMATION

Tested and confirmed working for debian bookworm on aarch64

eb4x added 3 commits April 1, 2025 09:26
Apparently they've simplified the url for zabbix 7.2, which is a
welcome change.
Simplifies the playbook, and shows variables available for overrides
by users more clearly.
Whenever we prefix a variable with _, we're essentially saying it's
an internal variable not meant to be overridden by users, so it's
cleaner if they're not presented in defaults.
@eb4x eb4x requested a review from pyrodie18 April 1, 2025 08:25
Copy link
Collaborator

@pyrodie18 pyrodie18 left a comment

Choose a reason for hiding this comment

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

Toss the change fragment in but looks good

eb4x added 2 commits April 2, 2025 11:26
Zabbix provides packages for many archtectures on debian;
i386, amd64, armhf, and arm64.

So we need a lookup/map for these. I'm switching the check from
machine to architecture in ansible_facts, because architecture is a
closer match to whatever the operatingsystem compiled for, rather
than the machine type it's running on. (machine can report i686,
while the architecture reports i386.)

This is not foolproof however as you can run an armhf based os on a
64-bit arm board, and ansible will report the architecture as
aarch64. (quite possibly an ansible bug)

So we put the zabbix_repo_deb_arch to defaults, so it can be
overridden by the user in such cases.
@eb4x eb4x requested a review from pyrodie18 April 2, 2025 09:59
@eb4x eb4x merged commit 06057aa into ansible-collections:main Apr 3, 2025
350 checks passed
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.

Debian arm repository broken

2 participants