The minimal Fedora installation does not include a cron implementation. The *cronie* role can be applied to hosts installed in this way to ensure that cron is available for task scheduling.
16 lines
257 B
YAML
16 lines
257 B
YAML
- name: ensure cronie is installed
|
|
package:
|
|
name=cronie
|
|
state=present
|
|
tags:
|
|
- install
|
|
|
|
- name: ensure cronie starts at boot
|
|
service:
|
|
name=crond
|
|
enabled=yes
|
|
- name: ensure cronie is running
|
|
service:
|
|
name=crond
|
|
state=started
|