ansible-collections / community.zabbix

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

zabbix_server_include should not include `*.conf` #1307

Closed mathieumd closed 1 day ago

mathieumd commented 1 week ago
SUMMARY

Since https://github.com/ansible-collections/community.zabbix/pull/1291 the variable zabbix_server_include is now /etc/zabbix/zabbix_server.conf.d/*.conf (main.yml#L59). When the task Create include dir zabbix-server runs, it creates an unwanted sub-folder *.conf under /etc/zabbix/zabbix_server.conf.d/!

Maybe it should be splitted in two variables?

zabbix_server_include_path: '/etc/zabbix/zabbix_server.conf.d'
zabbix_server_include_pattern: '*.conf'
ISSUE TYPE
COMPONENT NAME

zabbix_server