Don't use (broken) ansible_lsb

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:20 -04:00
parent f5ea3aab24
commit c46dae8852
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ set -o errexit
TMPFILE=$(mktemp)
TGTFILE=/run/pvc-motd.dynamic
DEBVER="({{ ansible_lsb.description }})"
DEBVER="[$( grep 'PRETTY_NAME=' /etc/os-release | awk -F'"' '{ print $2 }' )]"
echo >> $TMPFILE
echo "\033[01;34mParallel Virtual Cluster \033[01;36m${DEBVER}\033[0m" >> $TMPFILE