Add playbooks/motd.yml

This commit is contained in:
2026-06-07 14:33:26 +01:00
parent 4f89327a74
commit ccc23b4be6

17
playbooks/motd.yml Normal file
View File

@@ -0,0 +1,17 @@
- name: deploy custom motd
hosts: wireguard
become: true
tasks:
- name: remove bloat default motd files
ansible.builtin.file:
path: /etc/motd.d/cockpit
state: absent
- name: replace base motd file
copy:
src: ../configs/motd
dest: /etc/motd
owner: root
group: root
mode: 0644