Skip to content

Commit

Permalink
Print OS version in a new line
Browse files Browse the repository at this point in the history
lucab85 committed Apr 6, 2021
1 parent d6bec40 commit 889c9c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
motd_info: |
FQDN: {{ ansible_facts.fqdn }}
Distribution: {{ ansible_facts.distribution }} {{ ansible_facts.distribution_version }} {{ ansible_facts.distribution_release }}
Distribution: {{ ansible_facts.distribution }}
Version: {{ ansible_facts.distribution_version }} {{ ansible_facts.distribution_release }}
CPUs: {{ ansible_facts.processor_vcpus }}
RAM: {{ (ansible_facts.memtotal_mb / 1000) | round(1) }}GB

0 comments on commit 889c9c7

Please sign in to comment.