Cleaning up explanation of mount module states.

This commit is contained in:
Michael DeHaan 2014-07-28 12:18:45 -04:00
commit 226dacc7e6

View file

@ -62,10 +62,10 @@ options:
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 well as just configured in I(fstab). C(absent) and C(present) only deal with as needed and appropriately configured in I(fstab).
I(fstab). C(mounted) will also automatically create the mount point C(absent) and C(present) only deal with
directory if it doesn't exist. If C(absent) changes anything, it will I(fstab) but will not affect current mounting. If specifying C(mounted) and the mount
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 default: null