ansible-collections / community.zabbix

Zabbix Ansible modules
http://galaxy.ansible.com/community/zabbix
Other
315 stars 265 forks source link

Add support for Ubuntu 24.04 Noble Numbat (all roles) #1221

Closed sblaisot closed 1 month ago

sblaisot commented 1 month ago
SUMMARY

Ubuntu 24.04 Noble Numbat has been out since April 29, 2024

This pull request add support for Ubuntu 24.04 Noble Numbat using zabbix repositories. Only zabbix 6.0 and zabbix 6.4 are available in zabbix repo for Ubuntu 24.04

ISSUE TYPE
COMPONENT NAME

All roles

sblaisot commented 1 month ago

does not work well at the moment because new zabbix gpg key for noble repo has not been published yet. https://support.zabbix.com/browse/ZBX-24443

sblaisot commented 1 month ago

does not work well at the moment because new zabbix gpg key for noble repo has not been published yet. https://support.zabbix.com/browse/ZBX-24443

This should be fixed with second commit now that zabbix has published the Ubuntu 24.04 repo key

sblaisot commented 1 month ago

I didn't manage to make tests pass with ubuntu 24.04 because it comes with python 3.12 which requires ansible-core 2.15.3 to fix get_url which in turn requires ansible 8 which complain of community.docker collection not being installed. So I left tests on Ubuntu 24.04 aside from this PR (I kept it commented out). This seems to be a work beyond my capabilities and should be addressed in another PR. I tested zabbix agent2 installation on Ubuntu 24.04 manually with success.

pyrodie18 commented 1 month ago

We're gonna have to figure out how to make it work with 24.04.

sblaisot commented 1 month ago

@pyrodie18

I finally managed to make tests run on ubuntu 24.04 \o/

I had to make some minor adjustments to make the tests pass (especially zabbix server mysql and zabbix_java_gateway package install)

There is still an issue with geerlinguy.nginx in role zabbix_web on Ubuntu 24.04 I am working on

sblaisot commented 1 month ago

@pyrodie18 all tests are now passing, including ubuntu 24.04

sblaisot commented 1 month ago

Appreciate the PR.

Thanks to have merged this one ;)