Skip to content

Commit

Permalink
Support zabbix_agent >= 6.0 for Ubuntu 22.04 (#681)
Browse files Browse the repository at this point in the history
* Support zabbix_agent >= 6.0 for Ubuntu 22.04

* Fix typo & add link to upstream for Ubuntu 22.04
  • Loading branch information
krauthosting authored Apr 30, 2022
1 parent b2d3008 commit ab5cf40
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions roles/zabbix_agent/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@
tags:
- always

- name: "Reset zabbix_agent_version for Ubuntu 22.04 to 6.0"
# README https://support.zabbix.com/browse/ZBXNEXT-7624
set_fact:
zabbix_version: 6.0
zabbix_agent_version: 6.0
when:
- ansible_distribution_release == "jammy"
- ( zabbix_agent_version is version ('6.0','lt') or
zabbix_version is version ('6.0','lt') )

- name: "Fix facts for linuxmint - distribution release"
set_fact:
zabbix_agent_distribution_release: xenial
Expand Down
8 changes: 8 additions & 0 deletions roles/zabbix_agent/vars/zabbix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ sign_keys:
sign_key: E709712C
stretch:
sign_key: E709712C
jammy:
sign_key: E709712C
focal:
sign_key: E709712C
bionic:
Expand All @@ -24,6 +26,8 @@ sign_keys:
sign_key: E709712C
stretch:
sign_key: E709712C
jammy:
sign_key: E709712C
focal:
sign_key: E709712C
bionic:
Expand All @@ -42,6 +46,8 @@ sign_keys:
sign_key: E709712C
stretch:
sign_key: E709712C
jammy:
sign_key: E709712C
focal:
sign_key: E709712C
bionic:
Expand All @@ -61,6 +67,8 @@ sign_keys:
sign_key: E709712C
stretch:
sign_key: E709712C
jammy:
sign_key: E709712C
focal:
sign_key: E709712C
bionic:
Expand Down

0 comments on commit ab5cf40

Please sign in to comment.