freeipa / freeipa.ansible_freeipa / 1.8.4 / module / ipasudocmd Manage FreeIPA sudo command Authors: Rafael Jeffman preview | supported by communityfreeipa.ansible_freeipa.ipasudocmd (1.8.4) — module
Install with ansible-galaxy collection install freeipa.ansible_freeipa:==1.8.4
collections: - name: freeipa.ansible_freeipa version: 1.8.4
Manage FreeIPA sudo command
# Ensure sudocmd is present - freeipa.ansible_freeipa.ipasudocmd: ipaadmin_password: SomeADMINpassword name: /usr/bin/su state: present
# Ensure sudocmd is absent - freeipa.ansible_freeipa.ipasudocmd: ipaadmin_password: SomeADMINpassword name: /usr/bin/su state: absent
name: aliases: - sudocmd description: The sudo command required: true state: choices: - present - absent default: present description: State to ensure description: description: The command description required: false 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 ipaadmin_password: description: The admin password. required: false ipaapi_ldap_cache: default: true description: Use LDAP cache for IPA connection. type: bool ipaadmin_principal: default: admin description: The admin principal.