Skip to content
This repository was archived by the owner on Jun 21, 2020. It is now read-only.

Ansible: Common Autofs

Scot P. Floess edited this page Sep 12, 2016 · 1 revision

common/autofs

This role will install and setup autofs. As part of the install, the following packages are installed:

  • cifs-utils
  • samba-client
  • nfs-utils

Variables

The only variable used is autofs-master which should contain the following children:

  • name: The name of the share
  • shares: A string array of share types like NFS or CIFS shares one finds in an autofs file.

Each name above becomes an /etc/auto.[name] file as well as being defined in the /etc/auto.master.

An example can be found in Flossy's Ansible group vars yaml.

Clone this wiki locally