GisServer/playbooks/templates/motd.sh.j2

10 lines
350 B
Django/Jinja

RED='\033[0;31m'
YELLOW='\033[0;33m'
NC='\033[0m' # No Color
if [ "${USER}" == "{{ ansible_user }}" ]; then
echo -e "\nYou are logged in as user ${RED}${USER}${NC} used by ansible to manage this linux installation.
${YELLOW}Make sure to reflect all manual changes in the playbook found at
https://somepi.ddns.net/gites/gilex-dev/GisServer${NC}";
fi