From 2460470ae784f894d861f07dddef99fde332ff53 Mon Sep 17 00:00:00 2001 From: majerus1223 Date: Tue, 26 Nov 2019 12:30:37 -0600 Subject: [PATCH] Add an example for mounting NFS. (#64974) --- lib/ansible/modules/system/mount.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/ansible/modules/system/mount.py b/lib/ansible/modules/system/mount.py index 2d2e3e79b83..8b772a43110 100644 --- a/lib/ansible/modules/system/mount.py +++ b/lib/ansible/modules/system/mount.py @@ -145,6 +145,14 @@ EXAMPLES = r''' opts: bind state: mounted fstype: none + +- name: Mount an NFS volume + mount: + src: 192.168.1.100:/nfs/ssd/shared_data + path: /mnt/shared_data + opts: rw,sync,hard,intr + state: mounted + fstype: nfs '''