If you don't have access to the internet, then you'll have to mirror the required content into your network somehow.
FYI: https://galaxy.ansible.com/docs/using/installing.html You can also consider running an Pulp instance to server ansible content too: https://github.com/pulp/pulp_ansible HTH, El lun, 1 feb 2021 a las 17:19, ursa Brown (<[email protected]>) escribió: > How can I make ansible-galaxy work if it is not connected to internet? > Thank you > > ansible-galaxy role install linux-system-roles.network > > [WARNING]: - linux-system-roles. network was NOT installed successfully: > Unknown error when attempting to call > Galaxy at 'https://galaxy.ansible.com/api/': <urlopen error [Errno 101] > Network is unreachable> > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/6fd88401-14eb-4dfe-abbb-c38707754aban%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/6fd88401-14eb-4dfe-abbb-c38707754aban%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAFtje5PuALisoCjZKetKJBqac8HB5vaOPHPB4UXHRFXzrciwww%40mail.gmail.com.
