cellinfo
/
ansible.nfs
Archived
2
0
Fork 0
Projet FERMÉ au profit de debops.nfs
This repository has been archived on 2020-11-04. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Guillaume Raffy 5a9d0cf184 ipmroved documentation and fixed typos 2017-10-03 16:01:03 +02:00
defaults ipmroved documentation and fixed typos 2017-10-03 16:01:03 +02:00
handlers Init role. 2017-07-20 11:44:10 +02:00
meta ipmroved documentation and fixed typos 2017-10-03 16:01:03 +02:00
tasks ipmroved documentation and fixed typos 2017-10-03 16:01:03 +02:00
templates/etc/default Fix quotad port. 2017-07-20 16:36:13 +02:00
tests Init role. 2017-07-20 11:44:10 +02:00
vars Install nfs client for Debian. 2017-07-20 14:01:45 +02:00
.travis.yml Init role. 2017-07-20 11:44:10 +02:00
README.md ipmroved documentation and fixed typos 2017-10-03 16:01:03 +02:00

README.md

NFS

  1. Overview
  2. Role Variables
  3. Example Playbook
  4. Configuration
  5. Development
  6. License
  7. Author Information

Overview

This role manages NFS client installation and configuration using fixed ports.

Role Variables

  • nfs_cli_manage: If nfs-client should be managed with this role [default: true].
  • nfs_cli_pkg_state: State of new nfs-client package(s) [default: installed].
  • nfs_cli_conf_path: Configuration file for nfs-client [default: /etc/default/nfs-common].
  • nfs_cli_conf_tpl: Template used to generate the previous config file [default: etc/default/nfs-common.j2].
  • nfs_quota_conf_path: Configuration file for quota (nfs-client) [default: /etc/default/quota].
  • nfs_quota_conf_tpl: Template used to generate the previous config file [default: etc/default/quota.j2].
  • nfs_rpc_nfsd: Port used by the NFS server [default: 2049].
  • nfs_rpc_nfs_cb: Port used by RPC callback [default: 32764].
  • nfs_rpc_statd_bc: Port used by RPC statd broadcast [default: 32765].
  • nfs_rpc_statd: Port used by RPC statd listener [default: 32766].
  • nfs_rpc_mountd: Port used by RPC mountd [default: 32767].
  • nfs_rpc_lockd: Port used by RPC nlock manager [default: 32768].
  • nfs_rpc_quotad: Port used by RPC quotad [default: 32769].

OS Specific Variables

Please see default value by Operating System file in vars directory.

  • nfs_cli_pkg_list: The list of packages to install to provide nfs-client.

Example Playbook

  • Use defaults vars:
- hosts: serverXYZ
  roles:
    - role: ipr-cnrs.nfs

Configuration

This role will:

  • Install needed packages to provide nfs-client.
  • Manage nfs-client configuration files.
  • Fix rpcbind ports.

Development

This source code comes from our Gogs instance and the Github repo exist just to be able to send the role to Ansible Galaxy…

But feel free to send issue/PR here :)

Thanks to this hook, Github automatically got updates from our Gogs instance :)

License

WTFPL

Author Information

Jérémy Gardais