ansible-role-pip/tasks/main.yml
2017-05-26 23:15:50 -05:00

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 }}"