freeipa / freeipa.ansible_freeipa / 1.12.1 / module / ipaautomountkey Manage FreeIPA autommount map Authors: Chris Procter (@chr15p)), Thomas Woerner (@t-woerner) preview | supported by communityfreeipa.ansible_freeipa.ipaautomountkey (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
Add, delete, and modify an IPA automount map
- name: create key TestKey freeipa.ansible_freeipa.ipaautomountkey: ipaadmin_password: SomeADMINpassword locationcn: TestLocation mapname: TestMap key: TestKey info: 192.168.122.1:/exports state: present
- name: ensure key TestKey is absent freeipa.ansible_freeipa.ipaautomountkey: ipaadmin_password: SomeADMINpassword location: TestLocation mapname: TestMap key: TestKey state: absent
key: aliases: - name - automountkey description: automount key to be managed required: true type: str info: aliases: - information - automountinformation description: Mount information for the key required: false type: str state: choices: - present - absent - renamed default: present description: State to ensure required: false type: str rename: aliases: - new_name - newautomountkey description: key to change to if state is 'renamed' required: false type: str mapname: aliases: - map - automountmapname - automountmap description: automount map to be managed required: true type: str location: aliases: - automountlocationcn - automountlocation description: automount location map is in required: true 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