mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-07-25 00:44:46 +00:00
Update mount.py
deleted trailing newlines
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user