Using a bash script in github by the ansible playbook

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ł

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