base: add a "next_part" before executing evobackup in daily.local file
This commit is contained in:
parent
5481bb4698
commit
04bdff87f4
|
@ -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
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue