[ansible-project] cron job variable gets split up

2014-01-07 Thread David Reagan
I'm trying to make a task that takes a dict of cronjobs, passes the dict through dictsort so that it is a list, the goes through that list via with_items to add each cronjob. For some reason, the job= variable gets screwed up. It comes through as a full string in the debug message, but gets

Re: [ansible-project] cron job variable gets split up

2014-01-07 Thread Michael DeHaan
Looks like you should quote the job parameter job={{ foo }} becomes job={{ foo }} On Tue, Jan 7, 2014 at 3:56 PM, David Reagan jer...@gmail.com wrote: I'm trying to make a task that takes a dict of cronjobs, passes the dict through dictsort so that it is a list, the goes through that