base: add a "next_part" before executing evobackup in daily.local file

This commit is contained in:
Jérémy Dubois 2022-04-13 16:19:41 +02:00
parent 5481bb4698
commit 04bdff87f4
2 changed files with 13 additions and 1 deletions

View file

@ -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

View file

@ -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'