The "script" module will push to the remote and also run it, all in one go.

http://docs.ansible.com/script_module.html



On Thu, Sep 11, 2014 at 1:55 PM, Tiglath <te...@tiglath.net> wrote:

>
> I need to run a script from a particular remote directory.
>
> Can script be told to copy to a particular dir before running the script,
> or it's a matter of using a copy + shell?
>
> Thanks
>
>
>
> --
> 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 ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/f3a786e9-1fb3-4129-b43c-7df9bdb5a397%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/f3a786e9-1fb3-4129-b43c-7df9bdb5a397%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgwLyw7E50s6QwbgkBTvtkSSuRjZHdijF3owyuNOpD0F8A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to