Michael DeHaan <[email protected]> napisał: >Variables are, including inventory variables and "-e", but you cannot >use >fact gathering with /usr/bin/ansible, as they are a playbook only >construct. > Will fact caching change that? Or is bin/ansible not aware of the cache?
> > >On Thu, Aug 28, 2014 at 4:44 AM, Alainkr <[email protected]> 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]. >> 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/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. >> -- Wysłane za pomocą K-9 Mail. -- 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/8370b0d1-afea-4958-b583-b321df32427b%40email.android.com. For more options, visit https://groups.google.com/d/optout.
