Hi

Are you missing a : from the src?

On Fri, 27 Mar 2020 at 09:08, Sandy Hung <sandy.h...@abagile.com> wrote:

> dear all:
>
> fatal: [192.168.1.120]: FAILED! => {
>     "changed": false,
>     "invocation": {
>         "module_args": {
>             "dump": "0",
>             "fstype": "nfs",
>             "opts": "defaults,nobootwait",
>             "passno": "2",
>             "path": "/nfs",
>             "sate": "mounted",
>             "src": "192.168.1.146/share/share"
>         }
>     },
>     "msg": "Unsupported parameters for (mount) module: sate Supported
> parameters include: backup, boot, dump, fstab, fstype, opts, passno, path,
> src, state"
> }
>
> i don't know why unsupported mount module
>
>
> 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
>           sate=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 ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/ea6594b2-fe17-4f2f-9f91-07df91dfcbe6%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/ea6594b2-fe17-4f2f-9f91-07df91dfcbe6%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Mark Whaite, Systems Administrator
Adelard LLP
Adelard LLP, Units 24 Waterside, 44-48 Wharf Road, London N1 7UX
Tel: 020 7832 5850
Web: http://www.adelard.com

This e-mail, and any attachments, is confidential and for the use of the
addressee only. If you are not the intended recipient, please telephone 020
7832 5850. We do not accept legal responsibility for this e-mail or any
viruses.

Registered office: Stourside Place, Station Road, Ashford, Kent TN12 1PP
Registered in England & Wales no. OC 304551. VAT no. 454 489808

-- 
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/CAHtMyqiR9v8HyZ0_by12yn6e-ja_mXayTQ-9u2OhKQbOu3UJ9g%40mail.gmail.com.

Reply via email to