Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nosmoht/ansible-role-nfs-client

Ansible role to install and configure NFS Client on RHEL based systems
https://github.com/nosmoht/ansible-role-nfs-client

Last synced: 21 days ago
JSON representation

Ansible role to install and configure NFS Client on RHEL based systems

Awesome Lists containing this project

README

        

nfs-client
==========
- [Introduction](#introduction)
- [Requirements](#requirements)
- [Variables](#variables)
- [Usage](#usage)
- [Author](#author)

# Introduction

Ansible role to install and configure NFS client.

# Requirements

Ansible

# Variables

| Name | Description | Default |
|:-----|:------------|:--------|
| nfs_client_package_name | Package name | nfs-utils |
| nfs_client_package_state | Package state | present |
| nfs_client_service_names | Service names | depends on __ansible_os_family__ and __ansible_distribution_major_version__ |
| nfs_client_service_state | Service state | running |
| nfs_client_service_enabled | Service enabled | true |
| nfs_client_mounts | List of dictionaries describing NFS mount points | [] |

# Usage
Some tasks of the role require root privileges. Therefore become must be used
with either sudo or su.

```yaml
---
- hosts: server
become: true
become_method: sudo
become_user: root
vars:
nfs_client_mounts:
- src: nfs-server.example.com
name: /mnt/nfs
opts: rw,rsize=32768,wsize=32786
roles:
- role: nfs-client
```

# Author

[Thomas Krahn](mailto:[email protected])