homeserver/roles/geerlingguy.nfs_server
mg 4e8d17b092 Rolle aktualisiert: nfs-server (#463)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: #463
2023-02-17 11:51:12 +01:00
..
.github Rolle aktualisiert: nfs-server (#463) 2023-02-17 11:51:12 +01:00
defaults Rolle aktualisiert: nfs-server (#463) 2023-02-17 11:51:12 +01:00
handlers k3s - Basics (#423) 2022-11-04 20:58:37 +01:00
meta k3s - Basics (#423) 2022-11-04 20:58:37 +01:00
molecule/default Rolle aktualisiert: nfs-server (#463) 2023-02-17 11:51:12 +01:00
tasks Rolle aktualisiert: nfs-server (#463) 2023-02-17 11:51:12 +01:00
templates k3s - Basics (#423) 2022-11-04 20:58:37 +01:00
vars k3s - Basics (#423) 2022-11-04 20:58:37 +01:00
.ansible-lint k3s - Basics (#423) 2022-11-04 20:58:37 +01:00
.gitignore k3s - Basics (#423) 2022-11-04 20:58:37 +01:00
.yamllint k3s - Basics (#423) 2022-11-04 20:58:37 +01:00
LICENSE k3s - Basics (#423) 2022-11-04 20:58:37 +01:00
README.md k3s - Basics (#423) 2022-11-04 20:58:37 +01:00

Ansible Role: NFS

CI

Installs NFS utilities on RedHat/CentOS or Debian/Ubuntu.

Requirements

None.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

nfs_exports: []

A list of exports which will be placed in the /etc/exports file. See Ubuntu's simple Network File System (NFS) guide for more info and examples. (Simple example: nfs_exports: [ "/home/public *(rw,sync,no_root_squash)" ]).

nfs_rpcbind_state: started
nfs_rpcbind_enabled: true

(RedHat/CentOS/Fedora only) The state of the rpcbind service, and whether it should be enabled at system boot.

Dependencies

None.

Example Playbook

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

License

MIT / BSD

Author Information

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