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

* Create a new state, with an example and integration test

* Now that I have my PR, add in my changelog

* Fix linter issues

* Another attempt at getting the sanity tests to pass

* Fix FreeBSD integration test

* Try to get sonarcloud code analysis happy

* Change state option name
This commit is contained in:
Michael Sprott
2026-08-31 12:51:24 +09:00
committed by GitHub
parent 7ed7d2399c
commit 20699d7184
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)."