freeipa / freeipa.ansible_freeipa / 1.8.4 / module / ipaservicedelegationtarget Manage FreeIPA servicedelegationtarget Authors: unknown preview | supported by communityfreeipa.ansible_freeipa.ipaservicedelegationtarget (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 servicedelegationtarget and servicedelegationtarget members
# Ensure servicedelegationtarget delegation-target is present - freeipa.ansible_freeipa.ipaservicedelegationtarget: ipaadmin_password: SomeADMINpassword name: delegation-target
# Ensure servicedelegationtarget delegation-target member principal # test/example.com is present - freeipa.ansible_freeipa.ipaservicedelegationtarget: ipaadmin_password: SomeADMINpassword name: delegation-target principal: test/example.com action: member
# Ensure servicedelegationtarget delegation-target member principal # test/example.com is absent - freeipa.ansible_freeipa.ipaservicedelegationtarget: ipaadmin_password: SomeADMINpassword name: delegation-target principal: test/example.com action: member state: absent
# Ensure servicedelegationtarget delegation-target is absent - freeipa.ansible_freeipa.ipaservicedelegationtarget: ipaadmin_password: SomeADMINpassword name: delegation-target state: absent
name: aliases: - cn description: The list of servicedelegationtarget name strings. required: true state: choices: - present - absent default: present description: The state to ensure. required: true action: choices: - servicedelegationtarget - member default: servicedelegationtarget description: Work on servicedelegationtarget or member level. required: false principal: description: 'The list of principals. A principal can be of the format: fqdn, fqdn@REALM, service/fqdn, service/fqdn@REALM, host/fqdn, host/fqdn@REALM, alias$, alias$@REALM, where fqdn and fqdn@REALM are host principals and the same as host/fqdn and host/fqdn@REALM. Host princpals are only usable with IPA versions 4.9.0 and up. ' 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.