freeipa.ansible_freeipa.ipaidoverridegroup (1.12.1) — module

Manage FreeIPA idoverridegroup

Authors: Thomas Woerner (@t-woerner)

preview | supported by community

Install collection

Install with ansible-galaxy collection install freeipa.ansible_freeipa:==1.12.1


Add to requirements.yml

  collections:
    - name: freeipa.ansible_freeipa
      version: 1.12.1

Description

Manage FreeIPA idoverridegroups

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Ensure test group test_group is present in idview test_idview
- freeipa.ansible_freeipa.ipaidoverridegroup:
    ipaadmin_password: SomeADMINpassword
    idview: test_idview
    anchor: test_group
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Ensure test group test_group is present in idview test_idview with
# description
- freeipa.ansible_freeipa.ipaidoverridegroup:
    ipaadmin_password: SomeADMINpassword
    idview: test_idview
    anchor: test_group
    description: "test_group description"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Ensure test group test_group is present in idview test_idview without
# description
- freeipa.ansible_freeipa.ipaidoverridegroup:
    ipaadmin_password: SomeADMINpassword
    idview: test_idview
    anchor: test_group
    description: ""
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Ensure test group test_group is present in idview test_idview with internal
# name test_123_group
- freeipa.ansible_freeipa.ipaidoverridegroup:
    ipaadmin_password: SomeADMINpassword
    idview: test_idview
    anchor: test_group
    name: test_123_group
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Ensure test group test_group is present in idview test_idview without
# internal name
- freeipa.ansible_freeipa.ipaidoverridegroup:
    ipaadmin_password: SomeADMINpassword
    idview: test_idview
    anchor: test_group
    name: ""
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Ensure test group test_group is present in idview test_idview with gid 20001
- freeipa.ansible_freeipa.ipaidoverridegroup:
    ipaadmin_password: SomeADMINpassword
    idview: test_idview
    anchor: test_group
    gid: 20001
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Ensure test group test_group is present in idview test_idview without gid
- freeipa.ansible_freeipa.ipaidoverridegroup:
    ipaadmin_password: SomeADMINpassword
    idview: test_idview
    anchor: test_group
    gid: ""
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Ensure test group test_group is absent in idview test_idview
- freeipa.ansible_freeipa.ipaidoverridegroup:
    ipaadmin_password: SomeADMINpassword
    idview: test_idview
    anchor: test_group
    continue: true
    state: absent

Inputs

    
gid:
    aliases:
    - gidnumber
    description: Group ID Number (int or "")
    required: false
    type: str

name:
    aliases:
    - group_name
    - cn
    description: Group name
    required: false
    type: str

state:
    choices:
    - present
    - absent
    default: present
    description: The state to ensure.
    type: str

anchor:
    aliases:
    - ipaanchoruuid
    description: The list of anchors to override
    elements: str
    required: true
    type: list

idview:
    aliases:
    - idviewcn
    description: The idoverridegroup idview string.
    required: true
    type: str

description:
    aliases:
    - desc
    description: Description
    required: false
    type: str

ipaapi_context:
    choices:
    - server
    - client
    description: 'The context in which the module will execute. Executing in a

      server context is preferred. If not provided context will be

      determined by the execution environment.

      '
    required: false
    type: str

delete_continue:
    aliases:
    - continue
    description: 'Continuous mode. Don''t stop on errors.

      Valid only if `state` is `absent`.

      '
    required: false
    type: bool

fallback_to_ldap:
    description: 'Allow falling back to AD DC LDAP when resolving AD trusted objects.

      For two-way trusts only.

      '
    required: false
    type: bool

ipaadmin_password:
    description: The admin password.
    required: false
    type: str

ipaapi_ldap_cache:
    default: true
    description: Use LDAP cache for IPA connection.
    type: bool

ipaadmin_principal:
    default: admin
    description: The admin principal.
    type: str