Re: [ansible-project] Re: collecting "items" across roles and then iterating over them in a handler

2015-01-12 Thread Matthew Macdonald-Wallace
Thanks both, I'll have a play with that and see what I can get :) Matt On Friday, 9 January 2015 15:51:10 UTC, Mark Janssen wrote: > > Note that this only works in 1.7.x and beyond ... I just ran it on a host > still running 1.6.10 and couldn't get it to work until upgrading to 1.7.x > > Mark

Re: [ansible-project] Re: collecting "items" across roles and then iterating over them in a handler

2015-01-09 Thread Mark Janssen
Note that this only works in 1.7.x and beyond ... I just ran it on a host still running 1.6.10 and couldn't get it to work until upgrading to 1.7.x Mark On Fri, Jan 9, 2015 at 4:05 PM, Brian Coca wrote: > name the vars differently so they don't override, then you can > mix/match as you please >

Re: [ansible-project] Re: collecting "items" across roles and then iterating over them in a handler

2015-01-09 Thread Brian Coca
name the vars differently so they don't override, then you can mix/match as you please type1_jenkins_mods: - git type2_jenkins_mods: - svn - pipeline common_jenkins_mods: - chuck-norris they you can with_items: "{{common_jenkins_mods|union(type1_jenkins_mods)}}" for example. On Fr

[ansible-project] Re: collecting "items" across roles and then iterating over them in a handler

2015-01-09 Thread Matthew Macdonald-Wallace
Hi Bryan and thanks for the reply. The problem I'm trying to solve is collecting multiple jenkins plugins across roles but only executing the installation of them once. At the moment, I have to list and then install the plugins in each individual /tasks/main.yml whereas what I'd like to do is s