setup_nfs_ldap role – Setup LDAP authentication and NFS homes

Note

This role is part of the ufrmath.computer_labs collection (version 1.0.0).

To install it use: ansible-galaxy collection install git+https://github.com/guillod/computer_labs.

To use it in a playbook, specify: ufrmath.computer_labs.setup_nfs_ldap.

Entry point main – Setup LDAP authentication and NFS homes

Synopsis

  • Install SSSD and NFS;

  • Configure NFS with systemd Mount and AutoMount;

  • Configure LDAP authentication through SSSD;

  • Enable and restart corresponding systemd services.

Parameters

Parameter

Comments

domain

string / required

sssd domain

ldap_search_base

string / required

LDAP search base

ldap_uri

string / required

LDAP uri (may include more than one)

nfs_home_path

string / required

home path provided by LDAP to be mounted with NFS

nfs_server

string / required

NFS server