adds motd task

This commit is contained in:
2025-02-02 21:58:54 +01:00
parent c08b8481f7
commit 77fbef0447
5 changed files with 10 additions and 3 deletions
+6
View File
@@ -0,0 +1,6 @@
- name: Copy motd
copy:
content: "{{ lookup('file', 'motd/titles/' + inventory_hostname, errors='ignore') | default('') }}"
dest: /etc/motd
mode: "0644"
ignore_errors: true