Re: [ansible-project] ansible nfsclient error
Hi, Message is somewhat explicit, please look a little bit by yourself before posting, your mount options are not good : https://askubuntu.com/questions/786928/ubuntu-16-04-fstab-fails-with-nobootwait Seems nobootwait isn't exist anymore, remove it or replace it with nofail Regards, JYL Le 30/03/2020 à 08:36, sandy.h...@abagile.com a écrit : Hi I change to src: '192.168.1.146:/share' Then change authority 600 It’s showmsg": "Error mounting nfs: mount.nfs: an incorrect mount option was specified\n" BR Sandy *From:*ansible-project@googlegroups.com *On Behalf Of *Jean-Yves LENHOF *Sent:* Monday, March 30, 2020 2:20 PM *To:* ansible-project@googlegroups.com *Subject:* Re: [ansible-project] ansible nfsclient error Hi, Le 30/03/2020 à 08:15, Sandy Hung a écrit : src: '192.168.1.146/share' should be : src: '192.168.1.146:/share' Using 777 for rights is not a very good practice Regards, JYL -- 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 ansible-project+unsubscr...@googlegroups.com <mailto:ansible-project+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/dabc0938-3462-6c8d-7b44-fed5e268f0eb%40lenhof.eu.org <https://groups.google.com/d/msgid/ansible-project/dabc0938-3462-6c8d-7b44-fed5e268f0eb%40lenhof.eu.org?utm_medium=email&utm_source=footer>. -- 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 ansible-project+unsubscr...@googlegroups.com <mailto:ansible-project+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/011a01d6065d%248d9e8630%24a8db9290%24%40abagile.com <https://groups.google.com/d/msgid/ansible-project/011a01d6065d%248d9e8630%24a8db9290%24%40abagile.com?utm_medium=email&utm_source=footer>. -- 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 ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/6889ef0c-fde0-9847-08b9-93c6dae8aecd%40lenhof.eu.org.
RE: [ansible-project] ansible nfsclient error
Hi I change to � src: '192.168.1.146:/share' Then change authority 600 It’s show msg": "Error mounting nfs: mount.nfs: an incorrect mount option was specified\n" � � BR Sandy � From: ansible-project@googlegroups.com On Behalf Of Jean-Yves LENHOF Sent: Monday, March 30, 2020 2:20 PM To: ansible-project@googlegroups.com Subject: Re: [ansible-project] ansible nfsclient error � Hi, Le 30/03/2020 à 08:15, Sandy Hung a écrit �: � src: '192.168.1.146/share' � should be : � src: '192.168.1.146:/share' � Using 777 for rights is not a very good practice Regards, JYL -- 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 ansible-project+unsubscr...@googlegroups.com <mailto:ansible-project+unsubscr...@googlegroups.com> . To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/dabc0938-3462-6c8d-7b44-fed5e268f0eb%40lenhof.eu.org <https://groups.google.com/d/msgid/ansible-project/dabc0938-3462-6c8d-7b44-fed5e268f0eb%40lenhof.eu.org?utm_medium=email&utm_source=footer> . -- 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 ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/011a01d6065d%248d9e8630%24a8db9290%24%40abagile.com.
Re: [ansible-project] ansible nfsclient error
Hi, Le 30/03/2020 à 08:15, Sandy Hung a écrit : src: '192.168.1.146/share' should be : src: '192.168.1.146:/share' Using 777 for rights is not a very good practice Regards, JYL -- 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 ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/dabc0938-3462-6c8d-7b44-fed5e268f0eb%40lenhof.eu.org.
[ansible-project] ansible nfsclient error
Dear all: I can connect to this ip and share folder 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: name: nfs src: '192.168.1.146/share' fstype: nfs opts: defaults,nobootwait dump: 0 passno: 2 state: mounted fatal: [192.168.1.120]: FAILED! => { "changed": false, "invocation": { "module_args": { "backup": false, "boot": true, "dump": "0", "fstab": null, "fstype": "nfs", "name": "nfs", "opts": "defaults,nobootwait", "passno": "2", "path": "nfs", "src": "192.168.1.146/share", "state": "mounted" } }, "msg": "Error mounting nfs: mount.nfs: remote share not in 'host:dir' format\n" } -- 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 ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/962d86b3-c66a-4179-866c-f58f09cd57d9%40googlegroups.com.