mirror of
https://github.com/geerlingguy/ansible-role-pip.git
synced 2025-01-28 22:01:27 +01:00
Update molecule configuration to work with 3.0.
This commit is contained in:
parent
210c71981b
commit
bf2faee13d
6
.yamllint
Normal file
6
.yamllint
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
extends: default
|
||||
rules:
|
||||
line-length:
|
||||
max: 120
|
||||
level: warning
|
20
molecule/default/converge.yml
Normal file
20
molecule/default/converge.yml
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
- 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
|
Loading…
Reference in New Issue
Block a user