Re: [ansible-project] Question about roles, handlers, variables, and scope

2014-06-06 Thread Michael DeHaan
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 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.

Re: [ansible-project] Question about roles, handlers, variables, and scope

2014-06-04 Thread James Cammarata
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

[ansible-project] Question about roles, handlers, variables, and scope

2014-06-03 Thread Simon Fondrie-Teitler
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 sim