You've already forked ansible-role-common
This commit is contained in:
@@ -87,9 +87,12 @@ echo -e "
|
|||||||
{% if ansible_virtualization_type != "lxc" %}
|
{% if ansible_virtualization_type != "lxc" %}
|
||||||
$COLOR_COLUMN- Disk space$RESET_COLORS..........: "
|
$COLOR_COLUMN- Disk space$RESET_COLORS..........: "
|
||||||
for FS in ${FILESYSTEMS}; do
|
for FS in ${FILESYSTEMS}; do
|
||||||
echo -e " $COLOR_COLUMN- ..........$RESET_COLORS..........: $COLOR_VALUE `df -H ${FS} | grep -v 'Filesystem' | grep -v '^[[:space:]]*$' | awk '{print $6 " " $4}'` remaining $RESET_COLORS"
|
echo -e " $COLOR_COLUMN- ..........$RESET_COLORS..........: $COLOR_VALUE `df -H ${FS} | grep -v 'Filesystem' | grep -v '^[[:space:]]*$' | awk '{print $6 \" \" $4}'` remaining $RESET_COLORS"
|
||||||
done
|
done
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
echo -e "
|
||||||
===========================================================================
|
===========================================================================
|
||||||
`/usr/bin/env cat /etc/motd`
|
"
|
||||||
"
|
if [ -f /etc/motd ]; then
|
||||||
|
`/usr/bin/env cat /etc/motd`
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user