mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 07:05:27 +01:00
Update mount.py
deleted trailing newlines
This commit is contained in:
parent
2c8aad9f39
commit
572167b9c1
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue