listupgrades: create cron.d if missing

… because "cron" might not be installed
This commit is contained in:
Jérémy Lecour 2017-05-19 23:01:24 +02:00
parent 0bbc4c1559
commit 116f82d580

View file

@ -3,6 +3,8 @@
file:
path: "/usr/share/scripts"
state: directory
owner: root
group: root
mode: "0700"
- name: Copy listupgrade script
@ -19,6 +21,8 @@
file:
path: /etc/evolinux
state: directory
owner: root
group: root
mode: "0600"
- name: Copy listupgrade config
@ -30,6 +34,14 @@
group: root
force: no
- name: Cron.d is present
file:
path: "/etc/cron.d"
state: directory
mode: "0755"
owner: root
group: root
- name: Enable listupgrade cron
template:
src: listupgrade_cron.j2