1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_linux_desktop_setup.git synced 2024-09-14 19:54:51 +02:00

make sure cron is running

This commit is contained in:
L3D 2019-04-07 17:53:28 +02:00
parent 11f1789c88
commit 280349cb47
3 changed files with 23 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
# should we install cronie?
install_and_enable_cronie: false

View file

@ -24,3 +24,20 @@
user: '{{ user }}' user: '{{ user }}'
cron_file: /etc/crontab cron_file: /etc/crontab
- name: Make sure cron is installed
become: true
when: install_and_enable_cronie
packages:
names:
- cronie
state: latest
- name: Make sure cron is running
become: true
when: install_and_enable_cronie
systemd:
name: cronie.service
state: started
enabled: yes
daemon_reload: yes

@ -1 +1 @@
Subproject commit 919ece6d95faf02007259471b5747af1d08e6f80 Subproject commit 2fbb751274de7142bfd900acb85c9176e2635505