ansible -m setup server > file ? Perhaps, you should explain what you want to do, instead of what you're trying to do technically
Regards, Le 29/09/2015 20:22, Pratik Dhandharia a écrit : > That threw same error. > > I was wondering if there is a direct way of copying/saving output of > setup module to a file. > > On Tuesday, September 29, 2015 at 2:05:34 PM UTC-4, Brian Coca wrote: > > use a template instead, copy's content is not designed to handle > complex data > > > > > -- > Brian Coca > > -- > 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 post to this group, send email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/2d9d3b89-affc-4824-81c6-57234c7b9f12%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/2d9d3b89-affc-4824-81c6-57234c7b9f12%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/560B0C76.4060101%40lenhof.eu.org. For more options, visit https://groups.google.com/d/optout.
