diff --git a/CHANGELOG b/CHANGELOG index 4868c9c..17db088 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - post-install: add a version number to motd-carp-state.sh - nagios-nrpe: add a check dhcp_pool - collectd: add dhcp_pool.pl script +- base: add a "next_part" before executing evobackup in daily.local file ### Changed diff --git a/roles/base/tasks/evobackup.yml b/roles/base/tasks/evobackup.yml index c72a56b..f04d730 100644 --- a/roles/base/tasks/evobackup.yml +++ b/roles/base/tasks/evobackup.yml @@ -32,7 +32,18 @@ tags: - evobackup -- name: Delete evobackup root crontab replaced by daily.local cron +- name: Add evobackup cron - next_part + lineinfile: + path: /etc/daily.local + line: 'next_part "EvoBackup output:"' + insertbefore: 'sh /usr/share/scripts/zzz_evobackup' + owner: root + mode: "0644" + create: true + tags: + - evobackup + +- name: Delete legacy evobackup root crontab lineinfile: path: /var/cron/tabs/root regexp: '/usr/share/scripts/zzz_evobackup'