ansible-collections / community.zabbix

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

Python/Ansibleize enable variables #1285

Closed pyrodie18 closed 2 weeks ago

pyrodie18 commented 3 weeks ago
SUMMARY

There are a number of variables across the roles that essentially questions (i.e. AllowRoot) that are looking for 1 or 0 in the config. Turn them into regular bools within Ansible and convert as required (i.e. {{ zabbix_agent_enablepersistentbuffer | ternary('1', '0') }} as suggested by @eb4x

ISSUE TYPE
COMPONENT NAME

All roles