Deprecated

Removed in 2.13

i

Reason:Deprecated in favour of C(_info) module. | Alternative:Use M(online_user_info) instead.

ansible.builtin._online_user_facts (v2.9.27) — module

Gather facts about Online user.

| "added in version" 2.7 of ansible.builtin"

Authors: Remy Leone (@sieben)

deprecated | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Gather facts about the user.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Gather Online user facts
  online_user_facts:

Inputs

    
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

Outputs

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