So it shouldn't be merged into a global list, but should be valid only for
that include.




On Wed, Jun 4, 2014 at 10:32 AM, James Cammarata <jcammar...@ansible.com>
wrote:

> As far as I can tell, variables passed in as params to includes have never
> been merged into the global list of variables (I've gone back to 1.3.0 to
> test your example). So I would consider this a bug, if you'd like to open a
> github issue for us so we can keep track of this.
>
> Thanks!
>
>
> On Tue, Jun 3, 2014 at 4:16 PM, Simon Fondrie-Teitler <
> si...@worksmartlabs.com> wrote:
>
>> Hi all,
>>
>> In a role I have, I'm including another file in the role, and setting a
>> variable in the include statement. Then from the included file, I'm
>> notifying a handler in that role. Should the handler be able to access the
>> variable in the include? Right now it does not seem to be able to. A simple
>> example of what I'm talking about is here:
>>
>> https://gist.github.com/Simonft/5c5f154249cf758157c6
>>
>> Thanks,
>> Simon
>>
>> --
>> 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 ansible-project+unsubscr...@googlegroups.com.
>> To post to this group, send email to ansible-project@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/7f561389-0ca5-4130-b57d-5b115b961b97%40googlegroups.com
>> <https://groups.google.com/d/msgid/ansible-project/7f561389-0ca5-4130-b57d-5b115b961b97%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 ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAMFyvFi99F7Gf3eAifFuEvmJRD-VT4asR6fTwV2qP77rZTsR1Q%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAMFyvFi99F7Gf3eAifFuEvmJRD-VT4asR6fTwV2qP77rZTsR1Q%40mail.gmail.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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgwbV4Grhfy0qTTHf31b03OhHgCZojba%2B%3Dv0xkPo-dXyTg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to