This is a bug: https://github.com/ansible/ansible/issues/10347
The variable handling changed and the callback isn't getting the variables it needs anymore. Defered to v2 because one of the goals of v2 is to simplify variable handling which should make this easier to fix. (and any fix that was to hit v1 wouldn't be applicable to v2). -Toshio On Thu, Mar 12, 2015 at 12:41 PM, Krishna <[email protected]> wrote: > Except this fails to work even with global vars on 1.8.4 (but used to print > the value with 1.7.x). > > --- > - hosts: 127.0.0.1 > gather_facts: no > vars: > vhost: "foo" > tasks: > - name: create a virtual host file for {{ vhost }} > debug: msg="{{ vhost }}" > > Why would that be the case? > > -- > 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/865d3913-1321-4bac-9e5b-83be046936b5%40googlegroups.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/CAG9juErm%2BPzG03Eq2U9DuS5fXq9XQyEk_%2BDKVZXYqzpWNrj%3D_Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
