Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nosmoht/ansible-role-nfs-client
- Owner: Nosmoht
- Created: 2015-11-10T07:00:40.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-20T07:05:57.000Z (almost 9 years ago)
- Last Synced: 2023-12-16T19:23:22.165Z (11 months ago)
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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])