diff --git a/changelogs/fragments/zabbix_agent_distribution_release.yml b/changelogs/fragments/zabbix_agent_distribution_release.yml new file mode 100644 index 000000000..812e7a7e9 --- /dev/null +++ b/changelogs/fragments/zabbix_agent_distribution_release.yml @@ -0,0 +1,2 @@ +minor_changes: + - zabbix_agent_distribution_release - Overload ansible_distribution_release on Debian when choosing packages to install diff --git a/roles/zabbix_agent/tasks/Debian.yml b/roles/zabbix_agent/tasks/Debian.yml index 940f1e2f0..beba1327c 100644 --- a/roles/zabbix_agent/tasks/Debian.yml +++ b/roles/zabbix_agent/tasks/Debian.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 }} Components: {{ zabbix_repo_deb_component }} Architectures: {{ 'amd64' if ansible_machine != 'aarch64' else 'arm64'}} Signed-By: {{ zabbix_gpg_key }}