Don't use (broken) ansible_lsb

This commit is contained in:
Joshua Boniface 2019-06-17 23:05:51 -04:00
parent e8b5db4c9a
commit 0595a1bdd1
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