mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
2.3 KiB
ReStructuredText
27 lines
2.3 KiB
ReStructuredText
12 years ago
|
.. _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. |
|
||
|
+--------------------+----------+---------+----------------------------------------------------------------------------+
|