community / community.general / 2.5.9 / module / online_user_info Gather information about Online user. Authors: Remy Leone (@sieben)community.general.online_user_info (2.5.9) — module
Install with ansible-galaxy collection install community.general:==2.5.9
collections: - name: community.general version: 2.5.9
Gather information about the user.
- name: Gather Online user info community.general.online_user_info: register: result
- ansible.builtin.debug: msg: "{{ result.online_user_info }}"
api_url: aliases: - base_url default: https://api.online.net description: - Online API URL type: str api_token: aliases: - oauth_token description: - Online OAuth token. required: true type: str api_timeout: aliases: - timeout default: 30 description: - HTTP timeout to Online API in seconds. type: int validate_certs: default: true description: - Validate SSL certs of the Online API. type: bool
online_user_info: description: Response from Online API returned: success sample: online_user_info: company: foobar LLC email: foobar@example.com first_name: foo id: 42 last_name: bar login: foobar type: complex