summaryrefslogtreecommitdiffstats
path: root/roles/os_zabbix/tasks
diff options
context:
space:
mode:
authorThomas Wiest <twiest@redhat.com>2016-01-21 12:02:05 -0500
committerThomas Wiest <twiest@redhat.com>2016-01-21 12:02:46 -0500
commit8170207c20642eb1db973f2d570b0deb7b2add8e (patch)
tree1732dbb203a85c2ea495af595ea94474df42453a /roles/os_zabbix/tasks
parentc6e6a4bfb359add31c3677df18d5f92220d25a68 (diff)
downloadopenshift-8170207c20642eb1db973f2d570b0deb7b2add8e.tar.gz
openshift-8170207c20642eb1db973f2d570b0deb7b2add8e.tar.bz2
openshift-8170207c20642eb1db973f2d570b0deb7b2add8e.tar.xz
openshift-8170207c20642eb1db973f2d570b0deb7b2add8e.zip
Added template for config loop.
Diffstat (limited to 'roles/os_zabbix/tasks')
-rw-r--r--roles/os_zabbix/tasks/main.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/os_zabbix/tasks/main.yml b/roles/os_zabbix/tasks/main.yml
index 7552086d4..1c8d88854 100644
--- a/roles/os_zabbix/tasks/main.yml
+++ b/roles/os_zabbix/tasks/main.yml
@@ -41,6 +41,10 @@
tags:
- zagg_server
+- include_vars: template_config_loop.yml
+ tags:
+ - config_loop
+
- name: Include Template Heartbeat
include: ../../lib_zabbix/tasks/create_template.yml
vars:
@@ -150,3 +154,13 @@
password: "{{ ozb_password }}"
tags:
- zagg_server
+
+- name: Include Template Config Loop
+ include: ../../lib_zabbix/tasks/create_template.yml
+ vars:
+ template: "{{ g_template_config_loop }}"
+ server: "{{ ozb_server }}"
+ user: "{{ ozb_user }}"
+ password: "{{ ozb_password }}"
+ tags:
+ - config_loop