On Tue, 13 Jan 2015, Brian Coca wrote:

> no, you need to use role dependencies for that case
> 
> http://docs.ansible.com/playbooks_roles.html#role-dependencies

Ah. But tasks for role dependencies are all fired off in advance, right?

I'm talking about having a common "subroutine" task, commonly provided 
through a central point, that can be called like any other module might be 
called, from an arbitrary point within a playbook.

(The point of this is to provide some abstraction, so that client 
playbooks can be written in terms of higher-level operations than the 
concrete modules typically provided. Is that just a misplaced desire to 
"do ansible wrong"? :-) )

-- 
[email protected]  http://ioctl.org/jan/ Short, dark, ugly: pick any three
Don't annihilate, assimilate: MacDonalds, not missiles.

Reply via email to