mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 16:23:10 +00:00
79 lines
1.8 KiB
JSON
79 lines
1.8 KiB
JSON
{
|
|
"requirements": [],
|
|
"description": [
|
|
"This module controls active and configured mount points in C(/etc/fstab)."
|
|
],
|
|
"author": "Seth Vidal",
|
|
"notes": [],
|
|
"docuri": "mount",
|
|
"module": "mount",
|
|
"filename": "library/mount",
|
|
"examples": [
|
|
{
|
|
"code": "mount name=/mnt/dvd src=/dev/sr0 fstype=iso9660 opts=ro",
|
|
"description": "Mount DVD read-only"
|
|
}
|
|
],
|
|
"version_added": "0.6",
|
|
"short_description": "Control active and configured mount points",
|
|
"now_date": "2012-10-09",
|
|
"options": {
|
|
"src": {
|
|
"default": null,
|
|
"required": true,
|
|
"description": [
|
|
"device to be mounted on I(name)."
|
|
]
|
|
},
|
|
"state": {
|
|
"default": null,
|
|
"required": true,
|
|
"description": [
|
|
"If C(mounted) or C(unmounted), the device will be actively mounted or unmounted as well as just configured in I(fstab). C(absent) and C(present) only deal with I(fstab)."
|
|
],
|
|
"choices": [
|
|
"present",
|
|
"absent",
|
|
"mounted",
|
|
"unmounted"
|
|
]
|
|
},
|
|
"name": {
|
|
"default": null,
|
|
"required": true,
|
|
"description": [
|
|
"path to the mount point, eg: C(/mnt/files)"
|
|
],
|
|
"aliases": []
|
|
},
|
|
"dump": {
|
|
"default": null,
|
|
"required": false,
|
|
"description": [
|
|
"dump (see fstab(8))"
|
|
]
|
|
},
|
|
"passno": {
|
|
"default": null,
|
|
"required": false,
|
|
"description": [
|
|
"passno (see fstab(8))"
|
|
]
|
|
},
|
|
"opts": {
|
|
"default": null,
|
|
"required": false,
|
|
"description": [
|
|
"mount options (see fstab(8))"
|
|
]
|
|
},
|
|
"fstype": {
|
|
"default": null,
|
|
"required": true,
|
|
"description": [
|
|
"file-system type"
|
|
]
|
|
}
|
|
},
|
|
"ansible_version": "0.8"
|
|
} |