listupgrade: upstream release 23.03.1
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |4770|5|4765|4|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/197//ansiblelint">Evolix » ansible-roles » unstable #197</a>
gitea/ansible-roles/pipeline/head This commit looks good

This commit is contained in:
Jérémy Lecour 2023-03-12 11:12:52 +01:00 committed by Jérémy Lecour
parent b57fd16ee6
commit b4a63d3d55
2 changed files with 20 additions and 8 deletions

View file

@ -31,7 +31,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* Removed all "warn: False" args in command, shell and other modules as it's been deprecated and will give a hard fail in ansible-core 2.14.0.
* bind: refactor role
* evolinux-users: Update sudoers template to remove commands allowed without password
* listupgrade: upstream release 23.03
* listupgrade: upstream release 23.03.1
* nagios-nrpe : Rewrite check_vrrpd for a better check (check rp_filter, vrrpd and uvrrpd compatible, use arguments, …)
* openvpn: Change check_openvpn destination file to comply with recent EvoBSD change
* postfix: come back to default value of `notify_classes` for pack mails.

View file

@ -9,7 +9,7 @@
# - 60 : current release is not in the $r_releases list
# - 70 : at least an upgradable package is not in the $r_packages list
VERSION="23.03"
VERSION="23.03.1"
show_version() {
cat <<END
@ -184,12 +184,24 @@ main() {
local_release=$(cut -f 1 -d . </etc/debian_version)
# In case the version is a release name and not a number
case "${local_release}" in
jessie*) local_release=8 ;;
stretch*) local_release=9 ;;
buster*) local_release=10 ;;
bullseye*) local_release=11 ;;
bookworm*) local_release=12 ;;
trixie*) local_release=13 ;;
*jessie*)
local_release=8
;;
*stretch*)
local_release=9
;;
*buster*)
local_release=10
;;
*bullseye*)
local_release=11
;;
*bookworm*)
local_release=12
;;
*trixie*)
local_release=13
;;
esac