freeipa / freeipa.ansible_freeipa / 1.11.1 / module / ipaautomountmap Manage FreeIPA autommount map Authors: Chris Procter (@chr15p), Thomas Woerner (@t-woerner), Rafael Jeffman (@rjeffman) preview | supported by communityfreeipa.ansible_freeipa.ipaautomountmap (1.11.1) — module
Install with ansible-galaxy collection install freeipa.ansible_freeipa:==1.11.1
collections: - name: freeipa.ansible_freeipa version: 1.11.1
Add, delete, and modify an IPA automount map
- name: ensure map named auto.DMZ in location DMZ is present freeipa.ansible_freeipa.ipaautomountmap: ipaadmin_password: SomeADMINpassword name: auto.DMZ location: DMZ desc: "this is a map for servers in the DMZ"
- name: ensure indirect map exists freeipa.ansible_freeipa.ipaautomountmap: ipaadmin_password: SomeADMINpassword name: auto.INDIRECT location: DMZ parentmap: auto.DMZ mount: indirect
- name: remove a map named auto.DMZ in location DMZ if it exists freeipa.ansible_freeipa.ipaautomountmap: ipaadmin_password: SomeADMINpassword name: auto.DMZ location: DMZ state: absent
desc: aliases: - description description: description of automount map. required: false type: str name: aliases: - mapname - map - automountmapname description: automount map to be managed. elements: str required: true type: list mount: description: Indirect map mount point, relative to parent map. required: false type: str state: choices: - present - absent default: present description: State to ensure required: false type: str parentmap: description: 'Parent map of the indirect map. Can only be used when creating new maps. ' 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 automountlocation: aliases: - location - automountlocationcn description: automount location map is anchored to required: true 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