evomaintenance: upstream release 23.10.1
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2631|4|2627|3|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/370//ansiblelint">Evolix » ansible-roles » unstable #370</a>
gitea/ansible-roles/pipeline/head This commit looks good

This commit is contained in:
Jérémy Lecour 2023-10-09 18:13:35 +02:00 committed by Jérémy Lecour
parent 0c9b55e5e1
commit 3347ac4271
Signed by: jlecour
SSH key fingerprint: SHA256:h+5LgHRKwN9lS0SsdVR5yZPeFlJE4Mt+8UtL4CcP8dY
2 changed files with 8 additions and 8 deletions

View file

@ -49,7 +49,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* elasticsearch: improve networking configuration
* evolinux-base: include files under `sshd_config.d`
* evolinux-users: remove Stretch references in tasks that also apply to next Debian versions
* evomaintenance: upstream release 23.10
* evomaintenance: upstream release 23.10.1
* lxc-php: change LXC container in bookworm for php82
* minifirewall: update nrpe script to check active configuration
* minifirewall: upstream release 23.07

View file

@ -1,6 +1,6 @@
#!/bin/sh
VERSION="23.10"
VERSION="23.10.1"
show_version() {
cat <<END
@ -122,8 +122,8 @@ get_now() {
}
get_user() {
if [ -n "${USER}" ]; then
echo "${USER}"
if [ -n "${FORCE_USER}" ]; then
echo "${FORCE_USER}"
else
logname
fi
@ -399,7 +399,7 @@ AUTO=${AUTO:-"0"}
EVOCHECK=${EVOCHECK:-"0"}
GIT_STATUS_MAX_LINES=${GIT_STATUS_MAX_LINES:-20}
API_ENDPOINT=${API_ENDPOINT:-""}
USER=${USER:-""}
FORCE_USER=${FORCE_USER:-""}
# initialize variables
MESSAGE=""
@ -481,12 +481,12 @@ while :; do
# Deprecated, backward compatibility
# author change as autosysadmin
printf 'WARNING: "--autosysadmin" is deprecated, use "--user autosysadmin".\n' >&2
USER="autosysadmin"
FORCE_USER="autosysadmin"
;;
-u|--user)
# user options, with value speparated by space
if [ -n "$2" ]; then
USER=$2
FORCE_USER=$2
shift
else
printf 'ERROR: "--user" requires a non-empty option argument.\n' >&2
@ -495,7 +495,7 @@ while :; do
;;
--user=?*)
# message options, with value speparated by =
USER=${1#*=}
FORCE_USER=${1#*=}
;;
--user=)
# message options, without value