Fix tests by ensuring proper packages on proper platforms.

master
Jeff Geerling 2020-02-21 10:54:23 -06:00
parent 56aed3ac3b
commit 290d1b814b
1 changed files with 7 additions and 5 deletions

View File

@ -3,15 +3,17 @@
hosts: all
become: true
vars:
munin_packages:
- python3-passlib
- munin
pre_tasks:
- name: Update apt cache.
apt: update_cache=true cache_valid_time=600
when: ansible_os_family == 'Debian'
- name: Override munin_packages on Ubuntu.
set_fact:
munin_packages:
- python3-passlib
- munin
when: ansible_os_family == 'Debian'
roles:
- role: geerlingguy.munin