summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2016-04-06 13:23:05 -0400
committerKenny Woodson <kwoodson@redhat.com>2016-04-06 13:23:05 -0400
commit188faeaf02e4081494571f21a2e224510b944e4d (patch)
treead9ea62448a18f25c0067f92ba8a444fac71a240
parent3021093b746512809b47c2c9190e896cd21d3bd4 (diff)
parent8e5004b385659258044943a0176c672c3b5ffc1b (diff)
downloadopenshift-188faeaf02e4081494571f21a2e224510b944e4d.tar.gz
openshift-188faeaf02e4081494571f21a2e224510b944e4d.tar.bz2
openshift-188faeaf02e4081494571f21a2e224510b944e4d.tar.xz
openshift-188faeaf02e4081494571f21a2e224510b944e4d.zip
Merge pull request #1721 from kwoodson/userrefresh
Adding refresh for zbx_user.
-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']),
}