mirror of
https://github.com/geerlingguy/ansible-role-pip.git
synced 2025-01-19 20:31:34 +01:00
10 lines
274 B
YAML
10 lines
274 B
YAML
---
|
|
- name: Ensure Pip is installed.
|
|
package: name=python-pip state=present
|
|
|
|
- name: Ensure pip_install_packages are installed.
|
|
pip:
|
|
name: "{{ item.name | default(item) }}"
|
|
version: "{{ item.version | default(omit) }}"
|
|
with_items: "{{ pip_install_packages }}"
|