There are some non-oficial ansible portable distributions. I used these in very specific scenarios and I found them useful.
This is the one I used a few times: https://github.com/ownport/portable-ansible El martes, 11 de mayo de 2021 a la(s) 12:53:12 UTC-5, [email protected] escribió: > You need to fetch all the dependencies > > On Tue, 11 May 2021 at 19:36, Smahane <[email protected]> wrote: > >> Hello, >> >> I was able to copy the artifacts but i got an error during the >> installation. Any idea what it meant please? >> >> Thank you, >> >> >> $ pip3 install --user ansible-3.3.0.tar.gz >> *Processing ./ansible-3.3.0.tar.gz* >> *Collecting ansible-base<2.11,>=2.10.8 (from ansible==3.3.0)* >> * Retrying (Retry(total=4, connect=None, read=None, redirect=None, >> status=None)) after connection broken by >> 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection >> object at 0x147120631c88>: Failed to establish a new connection: [Errno -2] >> Name or service not known',)': /simple/ansible-base/* >> * Retrying (Retry(total=3, connect=None, read=None, redirect=None, >> status=None)) after connection broken by >> 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection >> object at 0x147120631f28>: Failed to establish a new connection: [Errno -2] >> Name or service not known',)': /simple/ansible-base/* >> * Retrying (Retry(total=2, connect=None, read=None, redirect=None, >> status=None)) after connection broken by >> 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection >> object at 0x147120631ba8>: Failed to establish a new connection: [Errno -2] >> Name or service not known',)': /simple/ansible-base/* >> * Retrying (Retry(total=1, connect=None, read=None, redirect=None, >> status=None)) after connection broken by >> 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection >> object at 0x147120631518>: Failed to establish a new connection: [Errno -2] >> Name or service not known',)': /simple/ansible-base/* >> * Retrying (Retry(total=0, connect=None, read=None, redirect=None, >> status=None)) after connection broken by >> 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection >> object at 0x1471205caf28>: Failed to establish a new connection: [Errno -2] >> Name or service not known',)': /simple/ansible-base/* >> * Could not find a version that satisfies the requirement >> ansible-base<2.11,>=2.10.8 (from ansible==3.3.0) (from versions: )* >> *No matching distribution found for ansible-base<2.11,>=2.10.8 (from >> ansible==3.3.0)* >> >> >> >> On Thursday, May 6, 2021 at 1:26:13 AM UTC [email protected] wrote: >> >>> Do you have access to at least copy artifacts to this machine or is it >>> completely off the grid? >>> >>> You can install Ansible if you can get the Artifacts to that machine. >>> >>> Download the artifacts from PyPI: >>> https://pypi.org/project/ansible/#files >>> >>> Get the artifact to the target machine. >>> >>> You can then do pip install --user <path_to_tar.gz> >>> >>> On Wed, May 5, 2021 at 9:04 PM Smahane <[email protected]> wrote: >>> >>>> Hello everyone, >>>> >>>> I have access to run on a cluster without root access. This cluster >>>> doesn't have access to the public network (no git, wget, curl...) >>>> >>>> Can i install ansible on it? >>>> >>>> Thank you! >>>> >>>> -- >>>> 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/9e97a0e8-f3fb-490a-9a27-cc418faedf82n%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/ansible-project/9e97a0e8-f3fb-490a-9a27-cc418faedf82n%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/5a0937b1-3cfc-4fb5-8594-b5126e1f22b5n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/5a0937b1-3cfc-4fb5-8594-b5126e1f22b5n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > Sent from a mobile device - please excuse the brevity, spelling and > punctuation. > -- 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/0d68b7d7-e608-4215-b81b-b9d125ef3abbn%40googlegroups.com.
