zabbix: fix syntax error in file lookup

Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
This commit is contained in:
David Kirwan 2024-02-12 13:47:37 +00:00
parent ec7bdacff2
commit 617b766423
No known key found for this signature in database
GPG key ID: A5893AB6474AC37D

View file

@ -26,9 +26,8 @@
- name: Import Zabbix templates from JSON
community.zabbix.zabbix_template:
template_json: "{{ lookup('file', item }}"
template_json: "{{ lookup('file', item ) }}"
state: present
with_items: "{{ zabbix_templates }}" # Templates specific to an ansible group, can be overwridden in inventory/group_vars/group_name
tags:
- zabbix_templates