Add playbooks/motd.yml

This commit is contained in:
2026-07-05 08:40:18 +00:00
parent 6f227976d8
commit 2331d96ab9

17
playbooks/motd.yml Normal file
View File

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