freeipa / freeipa.ansible_freeipa / 1.12.1 / module / ipahbacsvcgroup Manage FreeIPA hbacsvcgroups Authors: Thomas Woerner (@t-woerner) preview | supported by communityfreeipa.ansible_freeipa.ipahbacsvcgroup (1.12.1) — module
Install with ansible-galaxy collection install freeipa.ansible_freeipa:==1.12.1
collections: - name: freeipa.ansible_freeipa version: 1.12.1
Manage FreeIPA hbacsvcgroups
# Ensure hbacsvcgroup login is present - freeipa.ansible_freeipa.ipahbacsvcgroup: ipaadmin_password: SomeADMINpassword name: login hbacsvc: - sshd
# Ensure hbacsvc sshd is present in existing login hbacsvcgroup - freeipa.ansible_freeipa.ipahbacsvcgroup: ipaadmin_password: SomeADMINpassword name: databases hbacsvc: - sshd action: member
# Ensure hbacsvc sshd is abdsent in existing login hbacsvcgroup - freeipa.ansible_freeipa.ipahbacsvcgroup: ipaadmin_password: SomeADMINpassword name: databases hbacsvc: - sshd action: member state: absent
# Ensure hbacsvcgroup login is absent - freeipa.ansible_freeipa.ipahbacsvcgroup: ipaadmin_password: SomeADMINpassword name: login state: absent
name: aliases: - cn description: The hbacsvcgroup name elements: str required: true type: list state: choices: - present - absent default: present description: State to ensure type: str action: choices: - member - hbacsvcgroup default: hbacsvcgroup description: Work on hbacsvcgroup or member level type: str hbacsvc: description: List of hbacsvc names assigned to this hbacsvcgroup. elements: str required: false type: list nomembers: description: Suppress processing of membership attributes required: false type: bool description: description: The hbacsvcgroup 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 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