zabbix / ansible-collection

Zabbix Ansible Collection
10 stars 4 forks source link

Adding Centos 7 Support #6

Closed mhammedyildirim closed 2 months ago

mhammedyildirim commented 4 months ago

There was already RedHat Enterprise Linux 7 support for Zabbix Agent 2. When I looked at the download steps for Centos 7 on Zabbix's website, I saw that it was exactly the same as RedHat Enterprise Linux 7.

Afterwards, when I made the necessary changes in the roles/repository/vars/main/maps/01_maps_os_supported.yml file and ran my playbook, I observed that it worked without any problems for Centos 7.

atocko commented 3 months ago

Hi @mhammedyildirim, thank you for attention. There is no need to change sources, if you want to run this roles on different distributions. You can just skip the assert tasks like this:

ansible-playbook -i inv.yml -l cos7 play.yml --skip-tags assert

We are marking distro as supported after internal testing. And its meant more for AAP than for regular usage. Centos7 is reaching EOL in June, so im not sure if its really needed.