|
||
---|---|---|
defaults | ||
tasks | ||
README.md |
README.md
Mounts
Overview
Manage to mount local and remote devices.
Role Variables
- mounts_list : Directory that must contains all informations about devices to mount.
- mounts_list.name : The path to the mountpoint.
- mounts_list.src : Path to the local or remove device.
- mounts_list.fstype : Device filesystem type.
- mounts_list.opts : Mount options [default :
defaults,noatime
]. - mounts_list.state : If the device should be 'mounted', 'present',… [default :
present
].
Example Playbook
- Use defaults vars :
- hosts: serverXYZ
roles:
- role: ipr-cnrs.mounts
Configuration
This role will :
- Create the mountpoint directory.
- Add an entry in
/etc/fstab
. - Ensure to mount the device if specified.
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
Author Information
Jérémy Gardais
- Source : on IPR's Gogs
- IPR (Institut de Physique de Rennes)