chore: add motd to base role

This commit is contained in:
Bert-Jan Fikse 2025-12-18 11:27:35 +01:00
parent 5377c34709
commit 172665d237
Signed by: bert-jan
GPG key ID: C1E0AB516AC16D1A
2 changed files with 18 additions and 0 deletions

View file

@ -61,3 +61,11 @@
state: started
enabled: true
when: ansible_virtualization_type != "docker"
- name: Set custom MOTD
ansible.builtin.template:
src: motd.j2
dest: /etc/motd
owner: root
group: root
mode: '0644'

View file

@ -0,0 +1,10 @@
▗▄▄▄ ▗▄▄▄▖ ▗▄▄▖▗▄▄▄▖▗▄▄▄▖▗▄▖ ▗▖ ▗▄▄▖ ▗▄▖ ▗▄▖ ▗▄▄▖ ▗▄▄▄
▐▌ █ █ ▐▌ █ █ ▐▌ ▐▌▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ █
▐▌ █ █ ▐▌▝▜▌ █ █ ▐▛▀▜▌▐▌ ▐▛▀▚▖▐▌ ▐▌▐▛▀▜▌▐▛▀▚▖▐▌ █
▐▙▄▄▀▗▄█▄▖▝▚▄▞▘▗▄█▄▖ █ ▐▌ ▐▌▐▙▄▄▖▐▙▄▞▘▝▚▄▞▘▐▌ ▐▌▐▌ ▐▌▐▙▄▄▀
Hostname: {{ ansible_hostname }}
Distribution: {{ ansible_distribution }} {{ ansible_distribution_version }}
Kernel: {{ ansible_kernel }}