ansible/roles/netdata/molecule/shared/prepare.yml

17 lines
349 B
YAML
Raw Normal View History

2021-01-23 18:45:20 -06:00
---
- hosts: all
tasks:
- name: Update Apt Cache and install cron
apt:
name: cron
update_cache: true
become: true
when: ansible_os_family == "Debian"
- name: Install cron as requisite
package:
name: cronie
state: present
become: true
when: ansible_os_family == "RedHat"