ansible-base/roles/auto_reboot/tasks/package.yml

8 lines
196 B
YAML

---
- name: Cron installed
package:
name: "{{ cron_package }}"
state: present
notify: restart cron
when: auto_reboot # Only if auto reboot is enabled for this host or group of hosts