Commit Graph
2 Commits
Author SHA1 Message Date
Yves MOYROUDandGitHub 4d68e6f242 Merge 5ee818ec86 into 0821768bcb 2024-09-30 16:37:08 +09: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