ansible-role-pip/defaults/main.yml
2020-02-21 07:47:19 +01:00

7 lines
245 B
YAML

---
# For Python 3, use python3-pip.
pip_package: "{{ 'python-pip' if ansible_python_interpreter.endswith('python2') else 'python3-pip' }}"
pip_executable: "{{ 'pip3' if pip_package.startswith('python3') else 'pip' }}"
pip_install_packages: []