title: Mount different shares from nfs on a Linux OS using Ansible
body: <p>I have two different shares from nfs and want to mount them on a linux machine. kindly suggest any other possibilities</p>
  
  <pre><code>-  name: mount the nfsshare in client side
       mount:
         fstype: nfs
         opts: defaults
         dump: 0
         passno: 0
         state: mounted
         src: 192.168.0.55:/nfsshare       ##one share
         src: 192.168.0.55:/nfsshare_2     ##second share
         path: "{{ item }}"
       with_items:
         - /mnt/nfs_mount               ##mount point 1
         - /mnt/nfs_mount2              ##mount point  2
  </code></pre>
  
  <p>output has to be in fstab:</p>
  
  <pre><code>192.168.0.55:/nfsshare  /mnt/nfs_mount defaults 0 0
  192.168.0.55:/nfsshare_2  /mnt/nfs_mount_2  defaults 0 0
  </code></pre>