freeipa.ansible_freeipa.ipaautomountmap (1.8.4) — module

Manage FreeIPA autommount map

Authors: Chris Procter

preview | supported by community

Install collection

Install with ansible-galaxy collection install freeipa.ansible_freeipa:==1.8.4


Add to requirements.yml

  collections:
    - name: freeipa.ansible_freeipa
      version: 1.8.4

Description

Add, delete, and modify an IPA automount map

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - 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"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - 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

Inputs

    
desc:
    choices:
    - description
    description: description of automount map.
    required: false

name:
    choices:
    - mapname
    - map
    - automountmapname
    description: automount map to be managed.
    required: true

state:
    choices:
    - present
    - absent
    default: present
    description: State to ensure
    required: false

automountlocation:
    choices:
    - location
    - automountlocationcn
    description: automount location map is anchored to
    required: true

ipaadmin_password:
    description: The admin password.
    required: false

ipaadmin_principal:
    default: admin
    description: The admin principal.