mirror of
https://github.com/geerlingguy/ansible-role-pip.git
synced 2024-11-16 10:45:11 +01:00
Add name of the system pip package into defaults
On Amazon Linux, installing `python-pip` acutally installs the `python26-pip` package, so anything running in Python 2.7 won't find the dependencies installed with that `pip`. This allows the package name to be customised, depending on the OS and Python versions.
This commit is contained in:
parent
a9886af978
commit
4a2fd99b54
@ -1,2 +1,3 @@
|
||||
---
|
||||
pip_package_name: python-pip
|
||||
pip_install_packages: []
|
||||
|
@ -1,6 +1,8 @@
|
||||
---
|
||||
- name: Ensure Pip is installed.
|
||||
package: name=python-pip state=present
|
||||
package:
|
||||
name: "{{pip_package_name}}"
|
||||
state: present
|
||||
|
||||
- name: Ensure pip_install_packages are installed.
|
||||
pip:
|
||||
|
Loading…
Reference in New Issue
Block a user