Ok thanks Le jeudi 28 août 2014 13:57:22 UTC+2, Michael DeHaan a écrit : > > Variables are, including inventory variables and "-e", but you cannot use > fact gathering with /usr/bin/ansible, as they are a playbook only construct. > > > > > > > > On Thu, Aug 28, 2014 at 4:44 AM, Alainkr <[email protected] <javascript:> > > wrote: > >> Hello, >> >> I wanted to do that : >> >> ansible -i inventories/production all -m shell -a "echo urok | nc {{ >> ansible_eth1.ipv4.address }} 2181 " >> >> But it it seams that vars are not supported within ad-hoc commands. Right >> ? >> >> Thanks >> >> Alain >> >> >> -- >> 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/28590f88-e3b2-442b-9d5e-4958d8e20a9e%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/28590f88-e3b2-442b-9d5e-4958d8e20a9e%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/c77732b0-33ef-43de-abbe-7bf57cd97ed7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
