Wrong argument :

sate --> state

Regards,


Le 27/03/2020 à 10:34, [email protected] a écrit :

no

BR

Sandy

*From:*[email protected] <[email protected]> *On Behalf Of *Mark Whaite
*Sent:* Friday, March 27, 2020 5:16 PM
*To:* [email protected]
*Subject:* Re: [ansible-project] nfs client ansible

Hi

Are you missing a : from the src?

On Fri, 27 Mar 2020 at 09:08, Sandy Hung <[email protected] <mailto:[email protected]>> 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 <http://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
    <http://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 [email protected]
    <mailto:[email protected]>.
    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 [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAHtMyqiR9v8HyZ0_by12yn6e-ja_mXayTQ-9u2OhKQbOu3UJ9g%40mail.gmail.com <https://groups.google.com/d/msgid/ansible-project/CAHtMyqiR9v8HyZ0_by12yn6e-ja_mXayTQ-9u2OhKQbOu3UJ9g%40mail.gmail.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 [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/012301d6041a%24f084e3b0%24d18eab10%24%40abagile.com <https://groups.google.com/d/msgid/ansible-project/012301d6041a%24f084e3b0%24d18eab10%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/e9493fde-885e-b487-8840-6264ec8cef86%40lenhof.eu.org.

Reply via email to