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 jbor...@gmail.com
    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
        ursab...@gmail.com wrote:

            there should be a offline flag..

            On Monday, February 1, 2021 at 10:34:11 AM UTC-6
            jruar...@gmail.com 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
                <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
                <https://github.com/pulp/pulp_ansible>

                HTH,


                El lun, 1 feb 2021 a las 17:19, ursa Brown
                (<ursab...@gmail.com>) 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/
                    <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
                    ansible-proje...@googlegroups.com.
                    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 ansible-proje...@googlegroups.com.
    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 ansible-project+unsubscr...@googlegroups.com <mailto:ansible-project+unsubscr...@googlegroups.com>. 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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/22596623-0775-e8cf-3e07-2328701b1116%40redhat.com.

Reply via email to