Skip to content

lunics/ansible_role_nfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible role: NFS

Only tested on Archlinux.

Examples:

Override defaults

# Add this list to share a directory, server side
nfs_exports:
  - "/srv/nfs/share        192.168.10.1/24(rw,sync,subtree_check,all_squash)"

# Add this list to mount a remote nfs shared, client side
nfs_imports:
  - local_path:  /path/share_dir
    remote_path: /srv/nfs/share
    server_host: 192.168.1.32 or hostname
    state:       mounted         # optional

This role is a mix of these repos:


Todo:

  • Add "state" to nfs exports
  • Template nfs.conf

About

Ansible role for NFS client and server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published