I still don't understand. There are different levels of variables, but
how do they stacked and overriden?

Is it like this? (I can't check right now)

[globals]     (-e)                 - variable overrides everything below if set
[playbook]  (vars section)   - variable is accessible by includes
[task include]  (no vars section)   - uses variables from caller
[top include]  (no vars section)     - uses variables from caller
[top include]  (vars section)         - replaces all vars from levels above





On Mon, Feb 24, 2014 at 4:14 PM, Michael DeHaan <[email protected]> wrote:
> Ok, I stand corrected, this is interjecting into the vars field.
>
> I can't say I understand the details of James's patch as the dict
> constructor should be equivalent.
>
>
>
>
>
>
> On Mon, Feb 24, 2014 at 8:12 AM, Michael DeHaan <[email protected]> wrote:
>>
>> "But both examples are playbook includes. Is it a bug?"
>>
>> Not really, there's not an attach point for variables at that level.
>>
>> -e sets global variables, task level include variables are a thing, etc.
>>
>>
>> On Mon, Feb 24, 2014 at 12:06 AM, anatoly techtonik <[email protected]>
>> wrote:
>>>
>>> On Sunday, February 23, 2014 4:54:02 PM UTC+3, Michael DeHaan wrote:
>>>>
>>>> The basics here are that task includes can pass parameters, playbook
>>>> includes never had that implemented.
>>>
>>>
>>> But both examples are playbook includes. Is it a bug?
>>>
>>> --
>>> 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/4e69ba68-5e68-4066-bf22-e5a4594b3886%40googlegroups.com.
>>>
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/ansible-project/WdvouAZ3BUM/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CAEVJ8QOLvV7JOdxdsT3L-w5eP9cKE_39VOxe0aNyNeBh0WM7nw%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/groups/opt_out.



-- 
anatoly t.

-- 
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/CAPkN8x%2BPZdnTOW%3DvTU-xfqmKdvjEKgj6LHNqTuvOP0z7PQVurQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to