oneidentity.authentication_services.get_logon_policy_for_unix_host (0.3.1) — module

Returns users that are allowed access to the Unix host

| "added in version" 2.9 of oneidentity.authentication_services"

Authors: Laszlo Nagy (laszlo.nagy@oneidentity.com)

preview | supported by community

Install collection

Install with ansible-galaxy collection install oneidentity.authentication_services:==0.3.1


Add to requirements.yml

  collections:
    - name: oneidentity.authentication_services
      version: 0.3.1

Description

Returns users that are allowed access to the Unix host using the vastool list users-allowed command.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Get logon policy for unix host
  get_logon_policy_for_unix_host:
    facts: true
    facts_key: get_logon_policy_for_unix_host_facts_key
  register: get_logon_policy_for_unix_host_result

Inputs

    
facts:
    default: true
    description:
    - Generate Ansible facts?
    required: false
    type: bool

facts_key:
    default: get_logon_policy_for_unix_host_facts_key
    description:
    - Ansible facts key
    required: false
    type: str

user_name:
    default: ''
    description:
    - Return only the specified user or all users?
    required: false
    type: str

Outputs

ansible_facts:
  description: All non-standard return values are placed in Ansible facts
  keys:
    changed:
      description: Did the state of the host change?
      returned: always
      type: bool
    failed:
      description: Did the module fail?
      returned: always
      type: bool
    msg:
      description: Additional information if failed
      returned: always
      type: str
    params:
      description: Parameters passed in
      returned: always
      type: dict
    users_allowed:
      description: All fields of each user account
      returned: always
      type: list of lists
    version:
      description: Version of vastool
      returned: always
      type: str
  returned: when facts parameter is true
  type: dict