geerlingguy.nfs

Ansible Role: NFS

CI

This role installs NFS (Network File System) tools on RedHat/CentOS or Debian/Ubuntu systems.

Requirements

No special requirements.

Role Variables

Here are the available variables and their default values (see defaults/main.yml):

  • nfs_exports: []

    This is a list of shared folders (exports) that will be added to the /etc/exports file. For more details and examples, check Ubuntu's simple NFS guide. For example, you can set it like this: nfs_exports: [ "/home/public *(rw,sync,no_root_squash)" ].

  • nfs_rpcbind_state: started

  • nfs_rpcbind_enabled: true

    These settings are for RedHat/CentOS/Fedora only. They determine the status of the rpcbind service and whether it should start automatically when the system boots.

Dependencies

No dependencies.

Example Playbook

Here’s an example of how to use this role in a playbook:

- hosts: db-servers
  roles:
    - { role: geerlingguy.nfs }

License

MIT / BSD

Author Information

This role was created in 2014 by Jeff Geerling, who is also the author of Ansible for DevOps.

Informazioni sul progetto

NFS installation for Linux.

Installa
ansible-galaxy install geerlingguy.nfs
Licenza
mit
Download
7.7M
Proprietario
Father, author, developer, maker. Sometimes called "an inflammatory enigma". #stl #drupal #ansible #k8s #raspberrypi #crohns