- {% if ansible_controlled is defined and ansible_controlled != "" %}
- #
- # {{ ansible_controlled }}
- #
- {% endif %}
- {% if zabbix_plugins_config.discovery.web is defined %}
- {% for key in zabbix_plugins_config.discovery.web.availability %}
- {{ key }}:
- url: '{{ zabbix_plugins_config.discovery.web.availability[key]['url'] }}'
- status: {{ zabbix_plugins_config.discovery.web.availability[key]['status'] }}
- timeout: {{ zabbix_plugins_config.discovery.web.availability[key]['timeout'] }}
- regexp: '{{ zabbix_plugins_config.discovery.web.availability[key]['regexp'] }}'
- {% endfor %}
- {% endif %}
|