Browse Source

Merge pull request #1721 from kwoodson/userrefresh

Adding refresh for zbx_user.
Kenny Woodson 9 years ago
parent
commit
188faeaf02
1 changed files with 2 additions and 0 deletions
  1. 2 0
      roles/lib_zabbix/library/zbx_user.py

+ 2 - 0
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']),
                  }