community / community.zabbix / 0.2.0 / module / zabbix_user_info Gather information about Zabbix user Authors: sky-joker (@sky-joker)community.zabbix.zabbix_user_info (0.2.0) — module
Install with ansible-galaxy collection install community.zabbix:==0.2.0
collections: - name: community.zabbix version: 0.2.0
This module allows you to search for Zabbix user entries.
- name: Get zabbix user info zabbix_user_info: server_url: "http://zabbix.example.com/zabbix/" login_user: admin login_password: secret alias: example
alias: description: - Name of the user alias in Zabbix. required: true type: str timeout: default: 10 description: - The timeout of API request (seconds). type: int login_user: description: - Zabbix user name. required: true type: str server_url: aliases: - url description: - URL of Zabbix server, with protocol (http or https). C(url) is an alias for C(server_url). required: true type: str login_password: description: - Zabbix user password. required: true type: str validate_certs: default: true description: - If set to False, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. type: bool http_login_user: description: - Basic Auth login type: str http_login_password: description: - Basic Auth password type: str
zabbix_user: description: example returned: always sample: alias: example attempt_clock: '0' attempt_failed: '0' attempt_ip: '' autologin: '0' autologout: '0' debug_mode: '0' gui_access: '0' lang: en_GB medias: - active: '0' mediaid: '668' mediatypeid: '1' period: 1-7,00:00-24:00 sendto: example@example.com severity: '63' userid: '660' name: user refresh: 30s rows_per_page: '50' surname: example theme: default type: '1' url: '' userid: '660' users_status: '0' usrgrps: - debug_mode: '0' gui_access: '0' name: Guests users_status: '0' usrgrpid: '8' type: dict