Thanks! It solved the issue!
On Tuesday, 27 November 2018 10:23:05 UTC+8, Toshio Kuratomi wrote: > > 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] <javascript:> > 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> 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/fe195d91-413d-45fc-96d9-25bf361aa3e3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
