From c197a685084a2f0ff7843c6dcae8fe4fb478ba89 Mon Sep 17 00:00:00 2001 From: Craig R Webster Date: Wed, 12 Jul 2017 14:01:47 +0100 Subject: [PATCH] Clarify behaviour for unmounted state (#26646) Unmounting does not modify fstab. --- lib/ansible/modules/system/mount.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/system/mount.py b/lib/ansible/modules/system/mount.py index e775e8fdabe..6ca86408c27 100644 --- a/lib/ansible/modules/system/mount.py +++ b/lib/ansible/modules/system/mount.py @@ -78,8 +78,9 @@ options: default: 0 state: description: - - If C(mounted) or C(unmounted), the device will be actively mounted or - unmounted as needed and appropriately configured in I(fstab). + - 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