https://github.com/oefenweb/ansible-nfs-client
Ansible role to set up NFS in Debian-like systems (client side)
https://github.com/oefenweb/ansible-nfs-client
Last synced: over 1 year ago
JSON representation
Ansible role to set up NFS in Debian-like systems (client side)
- Host: GitHub
- URL: https://github.com/oefenweb/ansible-nfs-client
- Owner: Oefenweb
- License: mit
- Created: 2020-11-03T14:26:46.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-11-02T11:05:37.000Z (over 2 years ago)
- Last Synced: 2025-01-23T02:44:41.830Z (over 1 year ago)
- Language: Dockerfile
- Size: 37.1 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## nfs-client
[](https://github.com/Oefenweb/ansible-nfs-client/actions?query=workflow%3ACI)
[](https://galaxy.ansible.com/Oefenweb/nfs_client/)
Set up NFS in Debian-like systems (client side)
#### Requirements
None
#### Variables
* `nfs_client_mounts`: [default: `[]`]: Shares to mount
* `nfs_client_mounts.{n}.src`: [required]: The remote path to the share (e.g. `192.168.1.10:/home`)
* `nfs_client_mounts.{n}.path`: [required]: The local path where the share should be mounted (e.g. `/home`)
* `nfs_client_mounts.{n}.state`: [default: `'mounted'`]: State
* `nfs_client_mounts.{n}.fstype`: [default: `'nfs'`]: Filesystem type (e.g. `nfs4`)
* `nfs_client_mounts.{n}.opts`: [optional]: Mount options, see `fstab(5)`
* `nfs_client_mounts.{n}.dump`: [optional]: Dump, see `fstab(5)`
* `nfs_client_mounts.{n}.passno`: [optional]: Passno, see `fstab(5)`
## Dependencies
None
## Recommended
* `ansible-nfs-server` ([see](https://github.com/Oefenweb/ansible-nfs-server))
#### Example
```yaml
---
- hosts: all
roles:
- oefenweb.nfs-client
vars:
nfs_client_mounts:
- src: 192.168.1.10:/home
path: /home
```
#### License
MIT
#### Author Information
* Mischa ter Smitten
#### Feedback, bug-reports, requests, ...
Are [welcome](https://github.com/Oefenweb/ansible-nfs-client/issues)!