Fix a deprecation warning in the Molecule playbook.

pull/139/head
Jeff Geerling 4 years ago
parent 9090d7d431
commit b96acd79ec
  1. 7
      molecule/default/converge.yml

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

Loading…
Cancel
Save