diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2015-08-21 17:44:30 -0400 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2015-08-27 14:40:09 -0400 |
commit | 693be4802c2b3886b82681c5c1666b9f13d9ca36 (patch) | |
tree | 4a6cee11c72601298535c262f5654a4b43ffba14 /roles/os_zabbix/tasks | |
parent | 2f5486c7174eeacdd52938442daa2ddfa6a8e277 (diff) | |
download | openshift-693be4802c2b3886b82681c5c1666b9f13d9ca36.tar.gz openshift-693be4802c2b3886b82681c5c1666b9f13d9ca36.tar.bz2 openshift-693be4802c2b3886b82681c5c1666b9f13d9ca36.tar.xz openshift-693be4802c2b3886b82681c5c1666b9f13d9ca36.zip |
Updates for zbx ans module
Diffstat (limited to 'roles/os_zabbix/tasks')
-rw-r--r-- | roles/os_zabbix/tasks/main.yml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/roles/os_zabbix/tasks/main.yml b/roles/os_zabbix/tasks/main.yml new file mode 100644 index 000000000..7111c778b --- /dev/null +++ b/roles/os_zabbix/tasks/main.yml @@ -0,0 +1,30 @@ +--- +- name: Main List all templates + zbx_template: + zbx_server: "{{ ozb_server }}" + zbx_user: "{{ ozb_user }}" + zbx_password: "{{ ozb_password }}" + state: list + register: templates + +- debug: var=templates + +- include_vars: template_heartbeat.yml +- include_vars: template_os_linux.yml + +- name: Include Template Heartbeat + include: ../../lib_zabbix/tasks/create_template.yml + vars: + template: "{{ g_template_heartbeat }}" + server: "{{ ozb_server }}" + user: "{{ ozb_user }}" + password: "{{ ozb_password }}" + +- name: Include Template os_linux + include: ../../lib_zabbix/tasks/create_template.yml + vars: + template: "{{ g_template_os_linux }}" + server: "{{ ozb_server }}" + user: "{{ ozb_user }}" + password: "{{ ozb_password }}" + |