Hi

You seem to be circling around the fact that you don't have internet
connectivity in your environment.
And the recommendations that were given by the previous posters didn't get
any traction.
There are many ways to get content onto an air gapped system.
But this is entirely dependent on your environment.
If all else fails, just download the content on an internet connected host
and copy it to your ansible host. Perhaps by USB stick, whatever works for
you.
If you don't know how to do that, then ask someone who DOES know your
environment  (your sysadmin or tech support or whatever).




On Tue, 2 Feb 2021 at 18:02, ursa Brown <[email protected]> wrote:

> in rhel-system-roles package the geerlinguy or haproxy role is not there.
> How will I use a geerlinguy haproxy role?
> Thanks
>
> On Tuesday, February 2, 2021 at 9:59:04 AM UTC-6 Richard Megginson wrote:
>
>> On 2/2/21 8:27 AM, ursa Brown wrote:
>>
>> For start I only have a RHEL7 iso.
>>
>>
>> In RHEL the package is called `rhel-system-roles`.
>>
>>
>>
>> On Tuesday, February 2, 2021 at 9:02:12 AM UTC-6 Richard Megginson wrote:
>>
>>> On 2/1/21 7:33 PM, ursa Brown wrote:
>>>
>>>
>>> So the yum install linux-system-roles wont fix this?
>>>
>>>
>>> Yes, you can use `yum install linux-system-roles` - what platform are
>>> you using for your Ansible controller node?  Fedora 32/33?
>>>
>>>
>>>
>>> On Monday, February 1, 2021 at 4:34:17 PM UTC-6 [email protected] wrote:
>>>
>>>> How do you expect to download a role from the internet if you don't
>>>> have access to the internet in the first place. An offline flag would only
>>>> work if you've already downloaded the roles and placed it somewhere, if
>>>> that's the case then just copy it into the roles directory like normal
>>>> roles.
>>>>
>>>> You can also do as the previous commenter said and mirror the content
>>>> to a local repository and target that server when installing roles.
>>>>
>>>> On Tuesday, February 2, 2021 at 6:14:09 AM UTC+10 [email protected]
>>>> wrote:
>>>>
>>>>> there should be a offline flag..
>>>>>
>>>>> On Monday, February 1, 2021 at 10:34:11 AM UTC-6 [email protected]
>>>>> wrote:
>>>>>
>>>>>> 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/f918d446-6719-4c4f-b0d3-db9bffefcebfn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/ansible-project/f918d446-6719-4c4f-b0d3-db9bffefcebfn%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/9f3c16b7-e95a-40f1-8298-beec03dd7726n%40googlegroups.com
>> <https://groups.google.com/d/msgid/ansible-project/9f3c16b7-e95a-40f1-8298-beec03dd7726n%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/97fadea3-5077-4f19-b4de-08fb6f308a1bn%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/97fadea3-5077-4f19-b4de-08fb6f308a1bn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAL8fbwNxLCjDjSP4AkUUViQjQ9OCauZXq1DpcLgGZSRhUEi09w%40mail.gmail.com.

Reply via email to