summaryrefslogtreecommitdiffstats
path: root/roles/lib_zabbix/tasks
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2015-11-17 11:24:33 -0500
committerKenny Woodson <kwoodson@redhat.com>2015-11-17 11:25:50 -0500
commit0b28d6dffa4680cb7fe022aecfa664ec5e00f2ff (patch)
tree97d010306723cf9455f1bf17101389813b173f19 /roles/lib_zabbix/tasks
parent6b9e41faa8bfa9da3df18f390c42ff9c740c9a09 (diff)
downloadopenshift-0b28d6dffa4680cb7fe022aecfa664ec5e00f2ff.tar.gz
openshift-0b28d6dffa4680cb7fe022aecfa664ec5e00f2ff.tar.bz2
openshift-0b28d6dffa4680cb7fe022aecfa664ec5e00f2ff.tar.xz
openshift-0b28d6dffa4680cb7fe022aecfa664ec5e00f2ff.zip
Updating zbx_item classes to support data types for bool.
Diffstat (limited to 'roles/lib_zabbix/tasks')
-rw-r--r--roles/lib_zabbix/tasks/create_template.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/lib_zabbix/tasks/create_template.yml b/roles/lib_zabbix/tasks/create_template.yml
index 44c4e6766..2992505bf 100644
--- a/roles/lib_zabbix/tasks/create_template.yml
+++ b/roles/lib_zabbix/tasks/create_template.yml
@@ -33,6 +33,7 @@
key: "{{ item.key }}"
name: "{{ item.name | default(item.key, true) }}"
value_type: "{{ item.value_type | default('int') }}"
+ data_type: "{{ item.data_type | default('decimal') }}"
description: "{{ item.description | default('', True) }}"
multiplier: "{{ item.multiplier | default('', True) }}"
units: "{{ item.units | default('', True) }}"
@@ -81,6 +82,7 @@
key: "{{ item.key }}"
discoveryrule_key: "{{ item.discoveryrule_key }}"
value_type: "{{ item.value_type }}"
+ data_type: "{{ item.data_type | default('decimal') }}"
template_name: "{{ template.name }}"
applications: "{{ item.applications }}"
description: "{{ item.description | default('', True) }}"