summaryrefslogtreecommitdiffstats
path: root/roles/lib_zabbix/library
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2016-04-06 13:04:23 -0400
committerKenny Woodson <kwoodson@redhat.com>2016-04-06 13:06:31 -0400
commit8e5004b385659258044943a0176c672c3b5ffc1b (patch)
treedf39850cac3b1402293e00a661827c56e7ee5a4d /roles/lib_zabbix/library
parent8429188ee24688eebf860a1872f8c6a0becee614 (diff)
downloadopenshift-8e5004b385659258044943a0176c672c3b5ffc1b.tar.gz
openshift-8e5004b385659258044943a0176c672c3b5ffc1b.tar.bz2
openshift-8e5004b385659258044943a0176c672c3b5ffc1b.tar.xz
openshift-8e5004b385659258044943a0176c672c3b5ffc1b.zip
Update for zbx_user refresh
Diffstat (limited to 'roles/lib_zabbix/library')
-rw-r--r--roles/lib_zabbix/library/zbx_user.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/lib_zabbix/library/zbx_user.py b/roles/lib_zabbix/library/zbx_user.py
index d10ffb9ff..68c5cfbfe 100644
--- a/roles/lib_zabbix/library/zbx_user.py
+++ b/roles/lib_zabbix/library/zbx_user.py
@@ -97,6 +97,7 @@ def main():
last_name=dict(default=None, type='str'),
user_type=dict(default=None, type='str'),
password=dict(default=None, type='str'),
+ refresh=dict(default=None, type='int'),
update_password=dict(default=False, type='bool'),
user_groups=dict(default=[], type='list'),
state=dict(default='present', type='str'),
@@ -137,6 +138,7 @@ def main():
'usrgrps': get_usergroups(zapi, module.params['user_groups']),
'name': module.params['first_name'],
'surname': module.params['last_name'],
+ 'refresh': module.params['refresh'],
'type': get_usertype(module.params['user_type']),
}