ansible/roles/geerlingguy.pip/molecule/default/playbook.yml

21 lines
425 B
YAML
Raw Normal View History

2019-09-24 08:59:36 +00:00
---
- name: Converge
hosts: all
become: true
vars:
pip_install_packages:
# Test installing a specific version of a package.
- name: ipaddress
version: "1.0.18"
# Test installing a package by name.
- colorama
pre_tasks:
- name: Update apt cache.
apt: update_cache=true cache_valid_time=600
when: ansible_os_family == 'Debian'
roles:
- role: geerlingguy.pip