Fix a deprecation warning in the Molecule playbook.

This commit is contained in:
Jeff Geerling 2020-12-27 00:17:01 -06:00
parent 9090d7d431
commit b96acd79ec

View File

@ -13,11 +13,12 @@
changed_when: false
- name: Install dependencies (RedHat).
yum: name={{ item }} state=present
yum:
name:
- cronie
- epel-release
state: present
when: ansible_os_family == 'RedHat'
with_items:
- cronie
- epel-release
- name: Install cron (Debian).
apt: name=cron state=present