you can create your own action plugin to wrap the copy part.

On Thu, May 21, 2015 at 12:50 PM, John McNulty <[email protected]> wrote:
>
> Hi Brian,
>
> So really the way forward is for me to split this over two tasks.   One task
> to copy the file from the role files directory on the Ansible server to a
> temporary directory on the remote host, and then use that known location in
> my custom module to find, process and clean the target file.
>
> Cheers,   John
>
>
> On Thursday, 21 May 2015 15:39:53 UTC+1, Brian Coca wrote:
>>
>> Those modules are split, the part that runs the 'src' stuff is an
>> action_plugin of the same name. The code that runs is split across the
>> action plugin (local) and the actual module (remote).
>>
>> --
>> Brian Coca
>
> --
> 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/f632452d-9d97-453c-be03-97f8d7643ea4%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



-- 
Brian Coca

-- 
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/CAJ5XC8n%2B5Ri15rQVKSNPpowfezMwDcX7JXNXF6a1Dcux%2B-UGGQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to