-
Notifications
You must be signed in to change notification settings - Fork 290
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
zabbix_agent - Use zabbix_agent_distribution_release to backport packages #1240
zabbix_agent - Use zabbix_agent_distribution_release to backport packages #1240
Conversation
…ages Configuration 'zabbix_agent_distribution_release' is already defined in the role. Actually make it usable to overload the system's ansible_distributin_release. This is useful to for example install Zabbix Agent2 on Raspbian 12 Bookworm using the older packages.
Unrelated to this: It is closed, but maybe it can be reopened to continue the discussion as there is an update to the previously fixed issue? |
I don't see where |
commit f008e17
file: roles/zabbix_agent/defaults/main.yml |
@@ -61,7 +61,7 @@ | |||
Types: deb{{ ' deb-src' if zabbix_repo_deb_include_deb_src }} | |||
Enabled: yes | |||
URIs: {{ zabbix_repo_deb_url }} | |||
Suites: {{ ansible_distribution_release }} | |||
Suites: {{ zabbix_agent_distribution_release }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's no default provided for this, it's gonna break for everyone that hasn't defined this variable. It was cleaned out by c2a32d5
I think you'll find that #1225 fixes what #1060 wanted to do. But you're probably right that That's not what's going down in this PR though, you'll have to update to reflect the newest changes. |
Actually, it should probably just say |
@kivilahtio are you still wanting to pursue this? |
Not at them moment. |
SUMMARY
Configuration 'zabbix_agent_distribution_release' is already defined in the role. Actually make it usable to overload the system's ansible_distribution_release. This is useful to for example install Zabbix Agent2 on Raspbian 12 Bookworm using the older packages, as there is not release for the specific target distribution and version.
ISSUE TYPE
COMPONENT NAME
Zabbix Agent
ADDITIONAL INFORMATION