diff --git a/roles/evocheck/tasks/install.yml b/roles/evocheck/tasks/install.yml index 43338ef..d67e430 100644 --- a/roles/evocheck/tasks/install.yml +++ b/roles/evocheck/tasks/install.yml @@ -37,10 +37,13 @@ tags: - evocheck -- name: Add evocheck cron +- name: Add evocheck cron next_part lineinfile: path: /etc/daily.local line: 'next_part "Evocheck output:"' insertbefore: 'sh /usr/share/scripts/evocheck.sh --verbose --cron' + owner: root + mode: "0644" + create: true tags: - evocheck