Sandip

It appears to be correct in code, maybe a recent fix that just has not
resulted in a refreshed docs page. See
https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/files/file.py#L147

On Wed, Aug 7, 2019 at 4:12 PM Sandip Bhattacharya <
sand...@showmethesource.org> wrote:

>
>
> [my third attempt to send this message got lost somehow. Trying again.]
>
> In the documentation for the file module at:
> https://docs.ansible.com/ansible/latest/modules/file_module.html
>
> An example for creating hard links is given as below:
>
>   - name: Create two hard links
>     file:
>       src: '/tmp/{{ item.src }}'
>       dest: '{{ item.dest }}'
>       state: link
>     with_items:
>       - { src: x, dest: y }
>       - { src: z, dest: k }
>
> According to the documentation of the “state” parameter however, the value
> should be “hard” and not “link". Is this a typo?
>
> Thanks,
> Sandip
>
>
> --
> 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/etPan.5d4b3e91.34d78290.38c%40showmethesource.org
> .
>


-- 
- Andrew "lathama" Latham -

-- 
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/CA%2Bqj4S-dnaiUrLKjYpEKf03QxRjL%3DNOR9_pv_dbNh8dmR1Edjw%40mail.gmail.com.

Reply via email to