An open API service indexing awesome lists of open source software.

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)

Awesome Lists containing this project

README

          

## nfs-client

[![CI](https://github.com/Oefenweb/ansible-nfs-client/workflows/CI/badge.svg)](https://github.com/Oefenweb/ansible-nfs-client/actions?query=workflow%3ACI)
[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-nfs--client-blue.svg)](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)!