mount: Create a state like absent but keeps the mountpoint (#774) (#789)

A new `absent_keep_mountpoint` option has been added to the state.
This option keeps the mount point from being deleted when the state is absent.

Co-authored-by: Michael Sprott <165604036+sprottm@users.noreply.github.com>
This commit is contained in:
Hideki Saito
2026-09-01 08:44:28 +09:00
committed by GitHub
co-authored by Michael Sprott
parent 7811740296
commit e03234e855
3 changed files with 93 additions and 4 deletions
@@ -0,0 +1,2 @@
minor_changes:
- "Introduce an option to remove only the mount and fstab entry but not the mountpoint (https://github.com/ansible-collections/ansible.posix/issues/331)."