add initial motd role
This commit is contained in:
0
roles/motd/templates/.keep
Normal file
0
roles/motd/templates/.keep
Normal file
24
roles/motd/templates/motd.j2
Normal file
24
roles/motd/templates/motd.j2
Normal file
@ -0,0 +1,24 @@
|
||||
|
||||
----------------------
|
||||
.-~~-. .--. | Sophie Renae |
|
||||
/ / "\ /| | 2/6/2017 @ 8:08am |
|
||||
/ \ | \ \// | 8lbs. 4oz. |
|
||||
|/\ | \_/-'..' ----------------------
|
||||
A | / || _
|
||||
|__||__|| | |
|
||||
_______ _ __ __ _ __ _ _ __ __| | ___ _ __
|
||||
|_ / _ \ '_ \ / _` |/ _` | '__/ _` |/ _ \ '_ \
|
||||
/ / __/ | | | | (_| | (_| | | | (_| | __/ | | |
|
||||
/___\___|_| |_| \__, |\__,_|_| \__,_|\___|_| |_|
|
||||
__/ |
|
||||
|___/
|
||||
|
||||
|
||||
Host : {{ ansible_fqdn }}
|
||||
IP : {{ host_ip }}
|
||||
CPU : {{ ansible_processor_vcpus }} x {{ ansible_processor[2] }}
|
||||
Memory : {{ "{0:0.2f}".format(ansible_memfree_mb/1024) }} GB free of {{ (ansible_memtotal_mb/1024)|round}} GB
|
||||
Platform : {{ ansible_distribution }} {{ ansible_distribution_version }} {{ ansible_kernel }}
|
||||
Up : {{ node_uptime.stdout }}
|
||||
|
||||
|
Reference in New Issue
Block a user