oneidentity.authentication_services.get_host_access_control (0.3.1) — module

Returns entries from users.allow and users.deny.

| "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 list of Active Directory users, groups, organizational units and domain names from users.allow and users.deny.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Normal usage
  get_host_access_control:
    facts: true
    facts_key: host_access_control_facts_key
  register: get_host_access_control_result

Inputs

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

facts_key:
    default: host_access_control
    description:
    - Ansible facts key
    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_allow:
      description: All entries of users.allow
      returned: always
      type: list of strs
    users_deny:
      description: All entries of users.deny
      returned: always
      type: list of strs
  returned: when facts parameter is true
  type: dict