Dear all:

 �

I can connect to this ip  and share folder 

"msg": "Error mounting /nfs: mount.nfs: remote share not in 'host:dir' format\n"

 �



BR

Sandy

 �

 �

 �

my ansible

---

 �- hosts: all

 �  �gather_facts: no

 �  �become: yes

 �

 �  �tasks:

 �  �  �- name: Ensure NFS Common is installed

 �  �  �  �apt: name=nfs-common update_cache=yes

 �

 �  �  �- name: Create mountable dir

 �  �  �  �file: path=/nfs state=directory mode=777 owner=sandy group=sandy

 �

 �  �  �- name: set mountpoints

 �  �  �  �mount:

 �  �  �  �  � path=/nfs

 �  �  �  �  � src=192.168.1.146/share/share

 �  �  �  �  � fstype=nfs

 �  �  �  �  � opts=defaults,nobootwait

 �  �  �  �  � dump=0

 �  �  �  �  � passno=2

 �  �  �  �  � state=mounted

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/00e201d60640%242b290330%24817b0990%24%40abagile.com.

Reply via email to