From 1535d9fd901184ae7734d3c9fee13e72fb4e651e Mon Sep 17 00:00:00 2001 From: Richlv Date: Fri, 13 Dec 2019 16:25:07 +0200 Subject: [PATCH] Allow template import to create groups (#65503) --- lib/ansible/modules/monitoring/zabbix/zabbix_template.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ansible/modules/monitoring/zabbix/zabbix_template.py b/lib/ansible/modules/monitoring/zabbix/zabbix_template.py index 703073a5c34..1d316a4a6b0 100644 --- a/lib/ansible/modules/monitoring/zabbix/zabbix_template.py +++ b/lib/ansible/modules/monitoring/zabbix/zabbix_template.py @@ -544,6 +544,9 @@ class Template(object): 'updateExisting': True, 'deleteMissing': True }, + 'groups': { + 'createMissing': True + }, 'httptests': { 'createMissing': True, 'updateExisting': True,