myansible/collections/geerlingguy.nfs
blasebast 67fbacdef6 Fix README, gitignore, add pre-commit hooks
- README: poprawiona nazwa playbooka (mycloud.node.exporter.yml -> mycloud.yml), dodane wszystkie playbooki
- .gitignore: dodano ansible_runs.jsonl, __pycache__/, *.pyc
- git rm --cached: ansible_runs.jsonl, callback_plugins/__pycache__/*.pyc
- .pre-commit-config.yaml: trailing-whitespace, yaml, detect-secrets, blokada vault.pass i niezaszyfrowanych host_vars
- .secrets.baseline: baseline dla detect-secrets
- Auto-fix: trailing whitespace i brakujace EOF w plikach repo
2026-04-10 23:38:26 +02:00
..
.github cumulative changes 2025-01-04 10:39:11 +01:00
defaults cumulative changes 2025-01-04 10:39:11 +01:00
handlers cumulative changes 2025-01-04 10:39:11 +01:00
meta cumulative changes 2025-01-04 10:39:11 +01:00
molecule/default cumulative changes 2025-01-04 10:39:11 +01:00
tasks cumulative changes 2025-01-04 10:39:11 +01:00
templates Fix README, gitignore, add pre-commit hooks 2026-04-10 23:38:26 +02:00
vars cumulative changes 2025-01-04 10:39:11 +01:00
.ansible-lint cumulative changes 2025-01-04 10:39:11 +01:00
.gitignore cumulative changes 2025-01-04 10:39:11 +01:00
.yamllint cumulative changes 2025-01-04 10:39:11 +01:00
LICENSE cumulative changes 2025-01-04 10:39:11 +01:00
README.md cumulative changes 2025-01-04 10:39:11 +01:00

README.md

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.