>From the name of your task, it looks like you mean to use copy:, not file:
-Toshio On Mon, Nov 26, 2018, 6:19 PM Ronnie10 <[email protected] wrote: > Hi All, > > I have the following ansible codes, however when I run molecule test, it > gave me the error as my subject, anyway to fix that? > > - name: Copy <filename> file to config folder > file: > src: files/<filename> > dest: "PATH/config/<filename>" > mode: 0644 > > > Thank you. > > -- > 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 post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/119b5ce3-1ba4-4056-a568-15c00ed6775c%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/119b5ce3-1ba4-4056-a568-15c00ed6775c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAPrnkaQyBZdAsi1Dmc%3D5ga2GPgYKJC8GqU%2BBVAQYAKjFH-NNjw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
