Thanks Kai, I searched for more information on rc but the documentation is poor. Thank you for the information!
On Tue, Jan 29, 2019 at 8:44 PM Kai Stian Olstad <[email protected]> wrote: > > On 29.01.2019 19:33, boncalo mihai wrote: > > Still could use if i found out what's wrong with using rc since the > > syntax is the same as on ansible website > > Most modules doesn't return rc and copy is one of them > https://docs.ansible.com/ansible/latest/reference_appendices/common_return_values.html#rc > > You can always use this to show what a module is returning. > > - debug: var=<variable name> > > -- > Kai Stian Olstad > > -- > 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/768dbf84f5b193e900f9555d6db04036%40olstad.com. > 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/CAOK917R6NaZibf_RCJgcuwgSOASEKV3B2D3AqzKWQkNX1ZS0vQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
