1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add examples for bind and unmount to mount module docs

PR #46375
This commit is contained in:
Rohan Sadale 2018-10-02 08:48:13 -07:00 committed by Sviatoslav Sydorenko
parent bacbd4e9fc
commit 9874a49d1a

View file

@ -121,6 +121,19 @@ EXAMPLES = '''
fstype: xfs fstype: xfs
opts: noatime opts: noatime
state: present state: present
- name: Unmount a mounted volume
mount:
path: /tmp/mnt-pnt
state: unmounted
- name: Mount and bind a volume
mount:
path: /system/new_volume/boot
src: /boot
opts: bind
state: mounted
fstype: none
''' '''