If the task that copies the shell script fails, then the following tasks 
(in this case the cron job task) will not execute for that host.

- James

On Monday, October 13, 2014 4:00:27 AM UTC-4, [email protected] 
wrote:
>
> Hi All!
>
> Just want to say hello to all first since this is my first post to this 
> list!
>
> My questions is if there is a way to have dependencies between tasks. 
> Example: I have one task which puts a shell script in place, and the a 
> second task which establishes a cron job which uses this script. So if 
> copying of the script fails for whatever reason, it will make no sense to 
> put the cron job in place. So is there a way to create such a 
> dependency/requirement between tasks?
>
> Maybe I could use handlers, but this seems to be a kind of misuse. Any 
> suggestions appreciated.
>
> Thanks
> Bernd
>

-- 
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/1e5c0372-517e-46a0-bea0-a7c17f1d1ab8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to