Added instructions to install with pip (#24411)
* Added instructions to install with pip Added instructions on how to install Ansible with pip in regular or Python virtual environment. * Moved link to "More Information"
This commit is contained in:
committed by
Manish Giri
parent
5b489aaffa
commit
33fe89eb57
@ -51,6 +51,17 @@ Finally, Install the package
|
||||
```
|
||||
$ sudo apt-get install ansible
|
||||
```
|
||||
### Installation with the Python Package Manager "pip"
|
||||
Ansible can also be installed in your production or Python virtual environment with pip.
|
||||
|
||||
Install Ansible with pip by running:
|
||||
```
|
||||
sudo pip install ansible
|
||||
```
|
||||
To install Ansible in a Python virtual environment make sure the environment is activated and run:
|
||||
```
|
||||
pip install ansible
|
||||
```
|
||||
|
||||
A significant benefit of using Ansible is that it uses SSH (Secure SHell) by default, and the modules can reside on any machine (computer) not requiring servers, daemons or databases.
|
||||
|
||||
@ -61,3 +72,4 @@ Ansible modules, which are small task specific programs. Once they serve there i
|
||||
#### More Information:
|
||||
- [Learn more about how Ansible works](https://www.ansible.com/how-ansible-works/)
|
||||
- [Ansible documentation](http://docs.ansible.com/)
|
||||
- [Latest Release via Pip](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#latest-releases-via-pip)
|
||||
|
Reference in New Issue
Block a user