diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2015-09-10 11:25:08 -0400 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2015-09-10 11:25:08 -0400 |
commit | 4e5ddae5018ebab6cba0ba83de2702adfabeb478 (patch) | |
tree | 598e541f2ffaadcef9409c35178d7a4e1e71b8ed /roles/lib_zabbix/tasks | |
parent | 6dfeaccd2a6966e5b4e43cc315f88018e268e084 (diff) | |
download | openshift-4e5ddae5018ebab6cba0ba83de2702adfabeb478.tar.gz openshift-4e5ddae5018ebab6cba0ba83de2702adfabeb478.tar.bz2 openshift-4e5ddae5018ebab6cba0ba83de2702adfabeb478.tar.xz openshift-4e5ddae5018ebab6cba0ba83de2702adfabeb478.zip |
Adding capability to have descriptions on triggers
Diffstat (limited to 'roles/lib_zabbix/tasks')
-rw-r--r-- | roles/lib_zabbix/tasks/create_template.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/roles/lib_zabbix/tasks/create_template.yml b/roles/lib_zabbix/tasks/create_template.yml index 6307bf57a..fd0cdd46f 100644 --- a/roles/lib_zabbix/tasks/create_template.yml +++ b/roles/lib_zabbix/tasks/create_template.yml @@ -44,8 +44,9 @@ zbx_server: "{{ server }}" zbx_user: "{{ user }}" zbx_password: "{{ password }}" - description: "{{ item.description }}" - dependencies: "{{ item.dependencies | default([], true) }}" + name: "{{ item.name }}" + description: "{{ item.description | default('', True) }}" + dependencies: "{{ item.dependencies | default([], True) }}" expression: "{{ item.expression }}" priority: "{{ item.priority }}" url: "{{ item.url | default(None, True) }}" |