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
opts: noatime
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
'''