The script module transfers a local script to a remote host and then
executes it there.
You could use the get_url module to get a script from github, and then
the command or shell module to run it on the remote node.


Dick


On Fri, 10 May 2019 at 13:35, Michał Misiak <[email protected]> wrote:
>
> Hi,
>
> I have some bash scripts which I use in my ansible playbooks by script 
> module. Now, I would like to move my bash scripts to github and still use 
> them in my ansible playbooks, but directly from github. How can I do this? 
> Which module do I have to use?
>
> Best regards,
> Michał
>
> --
> 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/246e9e1e-3d33-4991-9ba8-5c48dcaa484f%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Dick Visser
Trust & Identity Service Operations Manager
GÉANT

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

Reply via email to