adds motd task

This commit is contained in:
mark committed 2025-02-02 21:58:54 +01:00
1 parent c08b8481f7
commit 77fbef0447
5 files changed
+10 -3

No files matched your search

+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