oneidentity / oneidentity.authentication_services / 0.3.1 / module / get_local_unix_groups Returns all groups or specific user groups. | "added in version" 2.9 of oneidentity.authentication_services" Authors: Laszlo Nagy (laszlo.nagy@oneidentity.com) preview | supported by communityoneidentity.authentication_services.get_local_unix_groups (0.3.1) — module
Install with ansible-galaxy collection install oneidentity.authentication_services:==0.3.1
collections: - name: oneidentity.authentication_services version: 0.3.1
Returns either all groups or some specific groups from /etc/group.
- name: Normal usage get_local_unix_groups: group_name: '' gid_number: '' member: '' include_all_group_members: true register: get_local_unix_groups_result
facts: default: true description: - Generate Ansible facts? required: false type: bool member: default: '' description: - Comma separated user names. required: false type: str facts_key: default: local_unix_groups description: - Ansible facts key required: false type: str gid_number: default: '' description: - Group ID. required: false type: str group_name: default: '' description: - Group name. required: false type: str include_all_group_members: default: true description: - Include all of the group members in the report? required: false type: bool
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_groups: description: All fields of each group 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