Don't use (broken) ansible_lsb
This commit is contained in:
parent
e8b5db4c9a
commit
0595a1bdd1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue