mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
26 lines
2.3 KiB
ReStructuredText
26 lines
2.3 KiB
ReStructuredText
.. _mount:
|
|
|
|
mount
|
|
`````
|
|
|
|
The mount module controls active and configured mount points (fstab).
|
|
|
|
+--------------------+----------+---------+----------------------------------------------------------------------------+
|
|
| parameter | required | default | comments |
|
|
+====================+==========+=========+============================================================================+
|
|
| name | yes | | path to the mountpoint, ex: /mnt/foo |
|
|
+--------------------+----------+---------+----------------------------------------------------------------------------+
|
|
| src | yes | | device to be mounted |
|
|
+--------------------+----------+---------+----------------------------------------------------------------------------+
|
|
| fstype | yes | | fstype |
|
|
+--------------------+----------+---------+----------------------------------------------------------------------------+
|
|
| opts | no | | mount options (see fstab docs) |
|
|
+--------------------+----------+---------+----------------------------------------------------------------------------+
|
|
| dump | no | | dump (see fstab docs) |
|
|
+--------------------+----------+---------+----------------------------------------------------------------------------+
|
|
| passno | no | | passno (see fstab docs) |
|
|
+--------------------+----------+---------+----------------------------------------------------------------------------+
|
|
| state | yes | | 'present', 'absent', 'mounted', or 'unmounted'. If mounted/unmounted, |
|
|
| | | | the device will be actively mounted or unmounted as well as just |
|
|
| | | | configured in fstab. 'absent', and 'present' only deal with fstab. |
|
|
+--------------------+----------+---------+----------------------------------------------------------------------------+
|