Update mount.py

deleted trailing newlines
This commit is contained in:
Yves MOYROUD 2024-10-11 17:10:24 +02:00 committed by GitHub
parent 2c8aad9f39
commit 572167b9c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -186,7 +186,7 @@ EXAMPLES = r'''
path: /tmp/mnt-pnt path: /tmp/mnt-pnt
state: remounted state: remounted
# The following will fail on first run # The following will fail on first run
# if /home/mydir is not empty after unmounting, # if /home/mydir is not empty after unmounting,
# though unmount and remove from fstab are successfull. # though unmount and remove from fstab are successfull.
# It will be successfull on subsequent runs (already unmounted). # It will be successfull on subsequent runs (already unmounted).
@ -194,7 +194,7 @@ EXAMPLES = r'''
ansible.posix.mount: ansible.posix.mount:
path: /home/mydir path: /home/mydir
state: absent state: absent
# The following will not fail on first run # The following will not fail on first run
# if /home/mydir is not empty after unmounting. # if /home/mydir is not empty after unmounting.
# It will leave /home/mydir and its content (if any) after unmounting. # It will leave /home/mydir and its content (if any) after unmounting.
- name: Unmount and remove from fstab, but keep /home/mydir - name: Unmount and remove from fstab, but keep /home/mydir