Merge branch 'mergermarket-master'

This commit is contained in:
Jeff Geerling 2017-12-19 23:58:20 -06:00
commit 08430acee7
3 changed files with 10 additions and 1 deletions

View File

@ -12,6 +12,10 @@ On RedHat/CentOS, you may need to have EPEL installed before running this role.
Available variables are listed below, along with default values (see `defaults/main.yml`):
pip_package: python-pip
The name of the packge to install to get `pip` on the system. You can set to `python3-pip`, for example, when using Python 3 on Ubuntu.
pip_install_packages: []
A list of packages to install with pip. Examples below:

View File

@ -1,2 +1,5 @@
---
# For Python 3, use python3-pip.
pip_package: python-pip
pip_install_packages: []

View File

@ -1,6 +1,8 @@
---
- name: Ensure Pip is installed.
package: name=python-pip state=present
package:
name: "{{ pip_package }}"
state: present
- name: Ensure pip_install_packages are installed.
pip: