From 617b766423101d53c9e16d80524f2621fcdcd13b Mon Sep 17 00:00:00 2001 From: David Kirwan Date: Mon, 12 Feb 2024 13:47:37 +0000 Subject: [PATCH] zabbix: fix syntax error in file lookup Signed-off-by: David Kirwan --- roles/zabbix/zabbix_templates/tasks/templates.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/zabbix/zabbix_templates/tasks/templates.yml b/roles/zabbix/zabbix_templates/tasks/templates.yml index 0329ccea09..93d78c7867 100644 --- a/roles/zabbix/zabbix_templates/tasks/templates.yml +++ b/roles/zabbix/zabbix_templates/tasks/templates.yml @@ -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 -