justereseau.nfs_mount
NFS-Mount
Verwalten Sie NFS-Mounts.
Rollenvariablen
nfs_version
: Zu verwendende NFS-Version (Standard: nfs)nfs_mount_opts
: Standard NFS-Mount-Optionen (Standard: defaults)nfs_share_mounts
: Liste von Dictionaries der NFS-Freigaben:path
: Mount-Punktmount
: NFS-Serverpfadopts
: Mount-Optionen (optional)nfs_version
: Zu verwendende NFS-Version (optional; Standard auf {{ nfs_version }})
Beispiel-Playbook
- hosts: localhost
roles:
- role: nfs-mount
nfs_share_mounts:
- path: /mnt/remote
location: nfs.example.org:/data
nfs_version: nfs
- path: /mnt/readonly
location: nfs.example.org:/read-only
opts: "{{ nfs_mount_opts }},ro"
nfs_version: nfs4
Autoreninformationen
Installieren
ansible-galaxy install justereseau.nfs_mount
Lizenz
wtfpl
Downloads
28.7k
Besitzer
(Not) Network Team at Lan ETS (Anymore)