diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2015-08-27 14:46:47 -0400 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2015-08-27 14:46:47 -0400 |
commit | 2483b7767d4e56e41e9890adfffe4bdc1480a11b (patch) | |
tree | 172b9391942022f73c1884219a5813269119f701 /roles/os_zabbix/tasks | |
parent | 96d9a943628578979b9cd0cb602bb04947c85466 (diff) | |
parent | 693be4802c2b3886b82681c5c1666b9f13d9ca36 (diff) | |
download | openshift-2483b7767d4e56e41e9890adfffe4bdc1480a11b.tar.gz openshift-2483b7767d4e56e41e9890adfffe4bdc1480a11b.tar.bz2 openshift-2483b7767d4e56e41e9890adfffe4bdc1480a11b.tar.xz openshift-2483b7767d4e56e41e9890adfffe4bdc1480a11b.zip |
Merge pull request #520 from kwoodson/zbxupdates
Updating zabbix ansible 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 }}" + |