mirror of
https://github.com/ruanbekker/rpi-ansible.git
synced 2026-09-05 05:50:41 +02:00
added table of rpi hardware revs to dress up motd
This commit is contained in:
@@ -1,20 +1,15 @@
|
||||
--------------------------------------------------------------------------------
|
||||
{% if myconfig.hostname == "cloverdale" %}
|
||||
{% if myconfig.hostname == "some_specific_hostname" %}
|
||||
{% else %}
|
||||
.~~. .~~.
|
||||
'. \ ' ' / .'
|
||||
.~ .~~~..~.
|
||||
: .~.'~'.~. : {{ myconfig.hostname }}
|
||||
~ ( ) ( ) ~
|
||||
( : '~'.~.'~' : ) {{ ansible_processor_count }} core{% if ansible_processor_count > 1 %}s{% endif %}, {{ ansible_memtotal_mb }} MB RAM
|
||||
~ ( ) ( ) ~ Raspberry Pi {% if raspi_rev in raspi_models %}{{ raspi_models[raspi_rev].model }}{% else %}Revision {{ raspi_rev }}{% endif %}
|
||||
( : '~'.~.'~' : ) {{ ansible_processor_count }} core{% if ansible_processor_count > 1 %}s{% endif %}, {% if raspi_rev in raspi_models %}{{ raspi_models[raspi_rev].mem }}{% else %}{{ ansible_memtotal_mb }} MB{% endif %} RAM
|
||||
~ .~ ( ) ~. ~ {{ ansible_lsb.description }}
|
||||
( : '~' : )
|
||||
'~ .~~~. ~'
|
||||
'~'
|
||||
{% else %}
|
||||
{{ myconfig.hostname }}
|
||||
{{ ansible_processor_count }} core{% if ansible_processor_count > 1 %}s
|
||||
{% endif %}
|
||||
{{ ansible_memtotal_mb }} MB RAM
|
||||
{{ ansible_lsb.description }}
|
||||
{% endif %}
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user