Skip to content

CESNET/ansible-role-mount-nfs4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cesnet.mount_nfs4

Ansible Galaxy role cesnet.mount_nfs4 that installs a NFSv4 client and mounts remote filesystems into local directories.

Use "--tags config" to run only config.

Requirements

You must provide a Kerberos keytab file (usually encrypted by ansible-vault) in file files/krb5.keytab or in other file with its name defined in the variable krb5_keytab_file.

Role Variables

  • krb5_conf_file - name of file with Kerberos config, default is krb5.conf, default file is provided
  • krb5_keytab_file - name of with Kerberos keytab, default is krb5.keytab
  • mount_nfs4_mounts - list of filesystems to mount

Example Playbook

- hosts: all
  roles:
    - role: cesnet.mount_nfs4l
      vars:
        mount_nfs4_mounts:
          - { path: '/storage/brno1-cerit', src: 'storage-brno1-cerit.metacentrum.cz:/hsmcerit' }
          - { path: '/storage/brno3-cerit', src: 'storage-brno3-cerit.metacentrum.cz:/' }

About

Ansible Galaxy role cesnet.mount_nfs4

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •