to which local bash command does get_url translate to?

I am running ansible playbooks against hosts in different networks or firewall-zones and need to fetch confg-files from a local BitBucket server at times with get_url TASKS. connectivoty to that BitBucket Server is challenging, to put it nicely.

In order to troubleshoot how to make this work it would be helpful to understand which bash/shell command is executed on the host via the get_url module.

  1. is the understanding that Ansible modules somehow translate to shell-commands on a host (and likewise there must be a shell eqiovalent command to each Ansible module)?
  2. if so, … what is the local command initiated by get_url (my guess would be wget)?

Looking at the source: https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/get_url.py#L381

fetch_url is defined here: https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/urls.py#L1803

Which is not forking a cli program, it is using a python library, most likely https://github.com/ansible/ansible/blob/e4890afc4e2af6c5126d056a2b4fdb1f1f122cf6/lib/ansible/module_utils/urls.py#L1276