zabbix: reorder zabbix tasks, create hostgroup before templates

Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
This commit is contained in:
David Kirwan 2024-02-13 12:07:16 +00:00
parent 1be7d658ab
commit 3c0a3f68e8
No known key found for this signature in database
GPG key ID: A5893AB6474AC37D

View file

@ -12,14 +12,14 @@
ansible_zabbix_url_path: "" # If Zabbix WebUI runs on non-default (zabbix) path ,e.g. http://<FQDN>/zabbixeu ansible_zabbix_url_path: "" # If Zabbix WebUI runs on non-default (zabbix) path ,e.g. http://<FQDN>/zabbixeu
- include_tasks: templates.yml
tags:
- zabbix_templates
- include_tasks: hostgroups.yml - include_tasks: hostgroups.yml
tags: tags:
- zabbix_hostgroups - zabbix_hostgroups
- include_tasks: templates.yml
tags:
- zabbix_templates
- include_tasks: add_hosts_to_hostgroups.yml - include_tasks: add_hosts_to_hostgroups.yml
tags: tags:
- zabbix_add_hosts_to_hostgroups - zabbix_add_hosts_to_hostgroups