ansible-collections/community.zabbix

zabbix_agent - Userparameters not deployed when scripts_dir is defined

Thulium-Drake opened this issue · 0 comments

SUMMARY

When defining a userparameter that has a script, like so:

zabbix_agent_userparameters:
  - name: 'my_first_userparameter'
    scripts_dir: 'my_first_userparameter'

It will not be deployed to the host because in the loop on

loop: "{{ zabbix_agent_userparameters | rejectattr('scripts_dir', 'defined') }}"
these items are excluded.

ISSUE TYPE
  • Bug Report
COMPONENT NAME

zabbix_agent