Am 05.01.2015 um 16:05 schrieb Tomasz Kontusz:
>> >* Is there a way to directly call a Python-script or function located
>> >relativly to the template?
> You can try using `first_found` lookup to locate it, and `lines` lookup to 
> call it.

I'll try this.

>> >* Any other solutions?
> You can also implement that computation as a custom module, and call it 
> before calling template

For me this sound wrong, because the module will be carried out on the
remote node, while there is nothing to do – except computing some
already known data.


-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | [email protected]               |
| www.crazy-compilers.com | compilers which you thought are impossible |

-- 
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/54AABD4A.1050905%40crazy-compilers.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to