Re: [ansible-project] Is there a way to make my var less ugly?

2014-10-05 Thread J Hawkesworth
Thanks, just what I needed. On Saturday, October 4, 2014 1:35:18 AM UTC+1, Michael Peters wrote: > > You can use the set_fact module for that. > On Oct 3, 2014 7:03 PM, "J Hawkesworth" > wrote: > >> So I created some tasks in one of my roles today that queries Jenkins to >> find the latest build

Re: [ansible-project] Is there a way to make my var less ugly?

2014-10-03 Thread Michael Peters
You can use the set_fact module for that. On Oct 3, 2014 7:03 PM, "J Hawkesworth" wrote: > So I created some tasks in one of my roles today that queries Jenkins to > find the latest build of a project and then uses that build number to go > get a zip file onto one of my managed servers. > > The r

[ansible-project] Is there a way to make my var less ugly?

2014-10-03 Thread J Hawkesworth
So I created some tasks in one of my roles today that queries Jenkins to find the latest build of a project and then uses that build number to go get a zip file onto one of my managed servers. The relevant part of my tasks/main.yml looks like this: - uri: url=http://jenkins/job/BuildSomeProjec