Hi all,

Let's say we have a role-a with two tasks: task-1 and task-2. Task-2
only runs if task-1 has triggered a change. So far, so good. But what
happens when task-2 fails? If we rerun role-a then task-1 will not
trigger a change so task-2 will not run. But we still need it to run.

Is there a way to "remember" the fact that task-2 should run? The best
I can come up with is to create a task-2-must-run empty marker file
somewhere when task-1 triggers a change [and assume that creating said
file will never fail :-) ]. Then have task-2 trigger on the existence
of the marker file.

That seems possible but rather convoluted. Thoughts?

Cheers,
Hilco

-- 
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/CAE1pOi1cqm53-c5-hMaQFWhLt%3DipMpnZ_sufm%3DNSUL8igj%3Diog%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to