Don't use (broken) ansible_lsb
This commit is contained in:
parent
f5ea3aab24
commit
c46dae8852
|
@ -7,7 +7,7 @@ set -o errexit
|
||||||
|
|
||||||
TMPFILE=$(mktemp)
|
TMPFILE=$(mktemp)
|
||||||
TGTFILE=/run/pvc-motd.dynamic
|
TGTFILE=/run/pvc-motd.dynamic
|
||||||
DEBVER="({{ ansible_lsb.description }})"
|
DEBVER="[$( grep 'PRETTY_NAME=' /etc/os-release | awk -F'"' '{ print $2 }' )]"
|
||||||
|
|
||||||
echo >> $TMPFILE
|
echo >> $TMPFILE
|
||||||
echo "\033[01;34mParallel Virtual Cluster \033[01;36m${DEBVER}\033[0m" >> $TMPFILE
|
echo "\033[01;34mParallel Virtual Cluster \033[01;36m${DEBVER}\033[0m" >> $TMPFILE
|
||||||
|
|
Loading…
Reference in New Issue