community / community.general / 0.2.1 / module / online_user_facts
Removed in 3.0.0
Reason:Deprecated in favour of C(_info) module. | Alternative:Use M(online_user_info) instead.
Gather facts about Online user.
Authors: Remy Leone (@sieben)
Install with ansible-galaxy collection install community.general:==0.2.1
collections: - name: community.general version: 0.2.1
Gather facts about the user.
- name: Gather Online user facts online_user_facts:
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. 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_facts: description: Response from Online API returned: success sample: online_user_facts: company: foobar LLC email: foobar@example.com first_name: foo id: 42 last_name: bar login: foobar type: complex