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

8 lines
198 B
YAML

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