{% if motd_ascii is defined and motd_ascii | lower == 'nftwall' %}

 ____ ____ ____ ____ ____ ____ ____
 ||n |||f |||t |||w |||a |||l |||l ||
 ||__|||__|||__|||__|||__|||__|||__||
 |/__\|/__\|/__\|/__\|/__\|/__\|/__\|
                                     
{% elif motd_ascii is defined and motd_ascii | lower == 'pplznet' %}

                ___                              __      
               /\_ \                            /\ \__   
 _____    _____\//\ \    ____      ___       __ \ \ ,_\  
/\ '__`\ /\ '__`\\ \ \  /\_ ,`\  /' _ `\   /'__`\\ \ \/  
\ \ \L\ \\ \ \L\ \\_\ \_\/_/  /_ /\ \/\ \ /\  __/ \ \ \_ 
 \ \ ,__/ \ \ ,__//\____\ /\____\\ \_\ \_\\ \____\ \ \__\
  \ \ \/   \ \ \/ \/____/ \/____/ \/_/\/_/ \/____/  \/__/
   \ \_\    \ \_\                                        
    \/_/     \/_/                                        
{% elif motd_ascii is defined and motd_ascii | lower == 'krach' %}

   __                             _ _     _ _  __                                   _     
   \ \ _   _  __ _  ___ _ __   __| | |__ (_) |/ _| ___ _ __     /\ /\_ __ __ _  ___| |__  
    \ \ | | |/ _` |/ _ \ '_ \ / _` | '_ \| | | |_ / _ \ '_ \   / //_/ '__/ _` |/ __| '_ \ 
 /\_/ / |_| | (_| |  __/ | | | (_| | | | | | |  _|  __/ | | | / __ \| | | (_| | (__| | | |
 \___/ \__,_|\__, |\___|_| |_|\__,_|_| |_|_|_|_|  \___|_| |_| \/  \/|_|  \__,_|\___|_| |_|
             |___/                                                                        

{% elif motd_ascii is defined and motd_ascii | lower == 'libcom' %}

   __   _ __                      __   
  / /  (_) /  _______  __ _   ___/ /__ 
 / /__/ / _ \/ __/ _ \/  ' \_/ _  / -_)
/____/_/_.__/\__/\___/_/_/_(_)_,_/\__/ 

{% else %}
   ___            _ __   __   
  / _ | ___  ___ (_) /  / /__ 
 / __ |/ _ \(_-</ / _ \/ / -_)
/_/ |_/_//_/___/_/_.__/_/\__/ 
                             
{% endif %}
This server is restricted for authorized people. If you have gained access illegitimately, leave now! Contravention will be prosecuted.
Hostname:       {{ inventory_hostname }}
OS:             {{ ansible_facts['distribution'] }}
Version:        {{ ansible_facts['distribution_version'] }}
{% if nb_vms[inventory_hostname]["description"] is defined %}
purpose:        {{ nb_vms[inventory_hostname]["description"] }}
{% elif nb_devices[inventory_hostname]["description"] is defined %}
purpose:        {{ nb_devices[inventory_hostname]["description"] }}
{% else %}
purpose:        {{ motd_purpose | default(omit) }}
{% endif %}
{% if nb_vms[inventory_hostname]["site"]["display"] is defined %}
site:           {{ nb_vms[inventory_hostname]["site"]["display"] }}
{% elif nb_devices[inventory_hostname]["site"]["display"] is defined %}
site:           {{ nb_devices[inventory_hostname]["site"]["display"] }}
{% else %}
site:           {{ motd_site | default(omit) }}
{% endif %}
{% if nb_vms[inventory_hostname]["primary_ip6"] is defined %}
IPv6 address:   {{ nb_vms[inventory_hostname]["primary_ip6"] }}
{% elif nb_devices[inventory_hostname]["primary_ip6"] is defined %}
IPv6 address:   {{ nb_devices[inventory_hostname]["primary_ip6"] }}
{% elif primary_ip6 is defined %}
IPv6 address:   {{ primary_ip6 }}
{% endif %}
{% if nb_vms[inventory_hostname]["primary_ip4"] is defined %}
IPv4 address:   {{ nb_vms[inventory_hostname]["primary_ip4"] }}
{% elif nb_devices[inventory_hostname]["primary_ip4"] is defined %}
IPv4 address:   {{ nb_devices[inventory_hostname]["primary_ip4"] }}
{% elif primary_ip4 is defined %}
IPv4 address:   {{ primary_ip4 }}
{% endif %}
timezone:       {{ ansible_date_time['tz'] }}
