Fix documentation for mount state (#32647)
* Fix documentation for mount state Fixes https://github.com/ansible/ansible/issues/18948 Signed-off-by: Jose A. Rivera <jarrpa@redhat.com> * Remove redundant line
This commit is contained in:
parent
33a704cc61
commit
7a82c49a5f
1 changed files with 7 additions and 6 deletions
|
@ -58,13 +58,14 @@ options:
|
|||
state:
|
||||
description:
|
||||
- If C(mounted), the device will be actively mounted and appropriately
|
||||
configured in I(fstab).
|
||||
- If C(unmounted), the device will be unmounted without changing I(fstab).
|
||||
- C(absent) and C(present) only deal with I(fstab) but will not affect
|
||||
current mounting.
|
||||
- If specifying C(mounted) and the mount point is not present, the mount
|
||||
configured in I(fstab). If the mount point is not present, the mount
|
||||
point will be created.
|
||||
- Similarly, specifying C(absent) will remove the mount point directory.
|
||||
- If C(unmounted), the device will be unmounted without changing I(fstab).
|
||||
- C(present) only specifies that the device is to be configured in
|
||||
I(fstab) and does not trigger or require a mount.
|
||||
- C(absent) specifies that the device mount's entry will be removed from
|
||||
I(fstab) and will also unmount the device and remove the mount
|
||||
point.
|
||||
required: true
|
||||
choices: [ absent, mounted, present, unmounted ]
|
||||
fstab:
|
||||
|
|
Loading…
Reference in a new issue