We have a project which requires a github repo to be forked. Can Ansible do this? (I looked through the docs and google searched it and found nothing).
Is the best option using the github API?
Ansible can execute any command you want on a remote host through an SSH session.
That means you can use any API or even simple script you want to fork/clone your project.
If you can achieve that through git commands in a script, you can make Ansible execute that same script.