Commit Graph
9 Commits
Author SHA1 Message Date
Yves MOYROUDandGitHub 2c8aad9f39 Update 569_keep_mountpoint.yml
remove empty lines and vim comment
2024-10-11 16:58:01 +02:00
Yves MOYROUDandGitHub 70b838f031 Add files via upload 2024-10-11 16:54:16 +02:00
Yves MOYROUDandGitHub 5a16ef3bea Add files via upload 2024-10-11 16:53:27 +02:00
Yves MOYROUDandGitHub 841a0f3314 modules/mount.py 2024-10-11 16:46:26 +02:00
Yves MOYROUDandGitHub 5bc6f636f7 Update mount.py
still a trailing whitespace
2024-10-04 09:08:03 +02:00
Yves MOYROUDandGitHub 284025660c delete trailing spaces in mount.py
delete trailing spaces in comments in mount.py
2024-10-03 17:27:18 +02:00
Yves MOYROUDandGitHub f7f54f242d Update mount.py
suppressed erroneous remaining TOTO check
2024-10-03 13:32:42 +02:00
Yves MOYROUDandGitHub 966df79767 Update mount.py
new option keep_mountpoint enables keeping the mountpoint with state=absent
2024-10-03 11:36:45 +02:00
Yves MOYROUDandGitHub 5ee818ec86 Update mount.py
In function main(), remove rmdir in case if state == 'absent'.
Unmounting a file system should not lead to delete anything that is revealed after unmounting. 
Also, it leads to an error if a non empty directory is present under the ex-mountpoint after umount : [Errno 39] Directory not empty
So umount is successfull but the ansible run is failed. Of course, it is solved on second run.
2024-09-18 17:41:21 +02:00