From 33fe89eb5714348a36c2a4dd14bc1a95b3b08ded Mon Sep 17 00:00:00 2001 From: devinbmiller <36973272+devinbmiller@users.noreply.github.com> Date: Mon, 10 Dec 2018 18:09:36 -0500 Subject: [PATCH] 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" --- guide/english/devops/ansible/index.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/guide/english/devops/ansible/index.md b/guide/english/devops/ansible/index.md index a3a8f893e8..da4244f35d 100644 --- a/guide/english/devops/ansible/index.md +++ b/guide/english/devops/ansible/index.md @@ -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)