docs updates and fixes

fixes http://github.com/ansible/ansible/issues/14876
pull/18777/head
Brian Coca 9 years ago committed by Matt Clay
parent 734811910e
commit 9e0aef8ea2

@ -32,43 +32,37 @@ options:
description: description:
- "path to the mount point, eg: C(/mnt/files)" - "path to the mount point, eg: C(/mnt/files)"
required: true required: true
default: null
aliases: []
src: src:
description: description:
- device to be mounted on I(name). - device to be mounted on I(name).
required: true required: true
default: null
fstype: fstype:
description: description:
- file-system type - file-system type
required: true required: true
default: null
opts: opts:
description: description:
- mount options (see fstab(8)) - mount options (see fstab(5))
required: false required: false
default: null default: null
dump: dump:
description: description:
- "dump (see fstab(8)), Note that if nulled, C(state=present) will cease to work and duplicate entries will be made with subsequent runs." - "dump (see fstab(5)), Note that if nulled, C(state=present) will cease to work and duplicate entries will be made with subsequent runs."
required: false required: false
default: 0 default: 0
passno: passno:
description: description:
- "passno (see fstab(8)), Note that if nulled, C(state=present) will cease to work and duplicate entries will be made with subsequent runs." - "passno (see fstab(5)), Note that if nulled, C(state=present) will cease to work and duplicate entries will be made with subsequent runs."
required: false required: false
default: 0 default: 0
state: state:
description: description:
- If C(mounted) or C(unmounted), the device will be actively mounted or unmounted - If C(mounted) or C(unmounted), the device will be actively mounted or unmounted as needed and appropriately configured in I(fstab).
as needed and appropriately configured in I(fstab). - C(absent) and C(present) only deal with I(fstab) but will not affect current mounting.
C(absent) and C(present) only deal with - If specifying C(mounted) and the mount point is not present, the mount point will be created. Similarly.
I(fstab) but will not affect current mounting. If specifying C(mounted) and the mount - Specifying C(absent) will remove the mount point directory.
point is not present, the mount point will be created. Similarly, specifying C(absent) will remove the mount point directory.
required: true required: true
choices: [ "present", "absent", "mounted", "unmounted" ] choices: [ "present", "absent", "mounted", "unmounted" ]
default: null
fstab: fstab:
description: description:
- file to use instead of C(/etc/fstab). You shouldn't use that option - file to use instead of C(/etc/fstab). You shouldn't use that option
@ -77,9 +71,7 @@ options:
required: false required: false
default: /etc/fstab default: /etc/fstab
notes: [] author:
requirements: []
author:
- Ansible Core Team - Ansible Core Team
- Seth Vidal - Seth Vidal
''' '''

Loading…
Cancel
Save