evolinux-base: update-evobackup-canary upstream release 22.06
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good

This commit is contained in:
Jérémy Lecour 2022-09-12 13:54:57 +02:00 committed by Jérémy Lecour
parent 3c1ec588fd
commit 28276b5d6f
3 changed files with 13 additions and 12 deletions

View file

@ -22,6 +22,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
### Changed ### Changed
* evocheck: upstream release 22.08.1 * evocheck: upstream release 22.08.1
* evolinux-base: update-evobackup-canary upstream release 22.06
* generate-ldif: Support any MariaDB version * generate-ldif: Support any MariaDB version
* minifirewall: use handlers to restart minifirewall * minifirewall: use handlers to restart minifirewall
* openvpn: automate the initialization of the CA and the creation of the server certificate ; use openssl_dhparam module instead of a command * openvpn: automate the initialization of the CA and the creation of the server certificate ; use openssl_dhparam module instead of a command

View file

@ -3,7 +3,7 @@
PROGNAME="update-evobackup-canary" PROGNAME="update-evobackup-canary"
REPOSITORY="https://gitea.evolix.org/evolix/evobackup" REPOSITORY="https://gitea.evolix.org/evolix/evobackup"
VERSION="22.05" VERSION="22.06"
readonly VERSION readonly VERSION
# base functions # base functions
@ -44,8 +44,8 @@ main() {
if [ -z "${canary_file:-}" ]; then if [ -z "${canary_file:-}" ]; then
canary_file="/zzz_evobackup_canary" canary_file="/zzz_evobackup_canary"
fi fi
# This option is supported since (at least) Debian 8 # This option is supported both on OpenBSD which does not use GNU date and on Debian
date=$(date --iso-8601=seconds) date=$(date "+%FT%T%z")
printf "%s %s\n" "${date}" "${who}" >> "${canary_file}" printf "%s %s\n" "${date}" "${who}" >> "${canary_file}"
} }

View file

@ -17,7 +17,7 @@
- name: update-evobackup-canary script is present - name: update-evobackup-canary script is present
copy: copy:
src: "update-evobackup-canary.sh" src: update-evobackup-canary
dest: /usr/local/bin/update-evobackup-canary dest: /usr/local/bin/update-evobackup-canary
force: True force: True
owner: root owner: root
@ -30,11 +30,11 @@
path: /usr/local/sbin/update-evobackup-canary path: /usr/local/sbin/update-evobackup-canary
state: absent state: absent
- name: dir-check script is present # - name: dir-check script is present
copy: # copy:
src: "dir-check.sh" # src: "dir-check.sh"
dest: /usr/local/bin/dir-check # dest: /usr/local/bin/dir-check
force: True # force: True
owner: root # owner: root
group: root # group: root
mode: "0755" # mode: "0755"