freeipa / freeipa.ansible_freeipa / 1.12.1 / module / ipaservicedelegationtarget Manage FreeIPA servicedelegationtarget Authors: Thomas Woerner (@t-woerner) preview | supported by communityfreeipa.ansible_freeipa.ipaservicedelegationtarget (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 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. elements: str required: true type: list state: choices: - present - absent default: present description: The state to ensure. required: false type: str action: choices: - servicedelegationtarget - member default: servicedelegationtarget description: Work on servicedelegationtarget or member level. required: false type: str 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. ' elements: str required: false type: list 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