As soon as I used pip I just typed ansible-playbook and it's there

Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: [email protected] <[email protected]> on 
behalf of Smahane <[email protected]>
Sent: Thursday, May 13, 2021 11:22:23 AM
To: Ansible Project <[email protected]>
Subject: Re: [ansible-project] Can i install ansible as a non root user?

It's not in the environment and not in /usr/bin/

If it's installed, where would it be?

On Wednesday, May 12, 2021 at 3:23:52 PM UTC-7 [email protected] wrote:
That comes with ansible-playbook does it not?

Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: [email protected] <[email protected]> on behalf of 
Smahane <[email protected]>
Sent: Thursday, May 13, 2021 10:14:57 AM
To: Ansible Project <[email protected]>
Subject: Re: [ansible-project] Can i install ansible as a non root user?

I followed the instructions and it only installed ansible-base-2.1-.9
How can i get ansible-playbook please?

Thank you,


$ pip3 install ansible-3.3.0.tar.gz --no-index --find-links=dependencies --user
Processing ./ansible-3.3.0.tar.gz
Collecting ansible-base<2.11,>=2.10.8 (from ansible==3.3.0)
Requirement already satisfied: jinja2 in /usr/lib/python3.6/site-packages (from 
ansible-base<2.11,>=2.10.8->ansible==3.3.0)
Requirement already satisfied: PyYAML in /usr/lib64/python3.6/site-packages 
(from ansible-base<2.11,>=2.10.8->ansible==3.3.0)
Requirement already satisfied: cryptography in 
/usr/lib64/python3.6/site-packages (from 
ansible-base<2.11,>=2.10.8->ansible==3.3.0)
Requirement already satisfied: packaging in /usr/lib/python3.6/site-packages 
(from ansible-base<2.11,>=2.10.8->ansible==3.3.0)
Requirement already satisfied: MarkupSafe>=0.23 in 
/usr/lib64/python3.6/site-packages (from 
jinja2->ansible-base<2.11,>=2.10.8->ansible==3.3.0)
Requirement already satisfied: idna>=2.1 in /usr/lib/python3.6/site-packages 
(from cryptography->ansible-base<2.11,>=2.10.8->ansible==3.3.0)
Requirement already satisfied: asn1crypto>=0.21.0 in 
/usr/lib/python3.6/site-packages (from 
cryptography->ansible-base<2.11,>=2.10.8->ansible==3.3.0)
Requirement already satisfied: six>=1.4.1 in /usr/lib/python3.6/site-packages 
(from cryptography->ansible-base<2.11,>=2.10.8->ansible==3.3.0)
Requirement already satisfied: cffi!=1.11.3,>=1.7 in 
/usr/lib64/python3.6/site-packages (from 
cryptography->ansible-base<2.11,>=2.10.8->ansible==3.3.0)
Requirement already satisfied: pyparsing in /usr/lib/python3.6/site-packages 
(from packaging->ansible-base<2.11,>=2.10.8->ansible==3.3.0)
Requirement already satisfied: pycparser in /usr/lib/python3.6/site-packages 
(from 
cffi!=1.11.3,>=1.7->cryptography->ansible-base<2.11,>=2.10.8->ansible==3.3.0)
Installing collected packages: ansible-base, ansible
  Running setup.py install for ansible-base ... done
  Running setup.py install for ansible ... done
Successfully installed ansible-3.3.0 ansible-base-2.10.9

On Tuesday, May 11, 2021 at 5:16:50 PM UTC-7 [email protected] wrote:
See https://pip.pypa.io/en/stable/cli/pip_download/

Use the --dest to place all the downloaded files into a specific directory.

On Tue, May 11, 2021 at 5:10 PM Smahane <[email protected]> wrote:
Can i fetch all the dependencies on a machine with internet access , and copy 
them to the machine for installation?

If so, how please?

Thank you,

On Tuesday, May 11, 2021 at 1:27:44 PM UTC-7 [email protected] wrote:
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/062ebeb8-a938-49a3-b5a6-35c47ba49569n%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/062ebeb8-a938-49a3-b5a6-35c47ba49569n%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/486217f2-7aac-45a0-89ea-f85dbd3db0f8n%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/486217f2-7aac-45a0-89ea-f85dbd3db0f8n%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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/81470551-0cfc-407a-977c-159551f5ee7bn%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/81470551-0cfc-407a-977c-159551f5ee7bn%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/SYBPR01MB56167C4242C94517F0940A2AAD519%40SYBPR01MB5616.ausprd01.prod.outlook.com.

Reply via email to