oneidentity.authentication_services.get_local_unix_user_conflicts (0.3.1) — module

Returns local user accounts that would conflict with a specified user name and UID on other hosts.

| "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 local user accounts that would conflict with a specified user name and UID on other hosts.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Normal usage
  get_local_unix_user_conflicts:
    user_name: 'bob'
    uid_number: '1001'
  register: get_local_unix_user_conflicts_result

Inputs

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

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

user_name:
    description:
    - User name.
    required: true
    type: str

uid_number:
    description:
    - User ID.
    required: true
    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
    local_unix_user_conflicts:
      description: All fields of each conflicting user account
      returned: always
      type: list of lists
    msg:
      description: Additional information if failed
      returned: always
      type: str
    params:
      description: Parameters passed in
      returned: always
      type: dict
  returned: when facts parameter is true
  type: dict