roles/cronie: Install cronie
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.
This commit is contained in:
15
roles/cronie/tasks/main.yml
Normal file
15
roles/cronie/tasks/main.yml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
- 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
|
||||||
Reference in New Issue
Block a user