Files
WireGuard-Server-Ansible/playbooks/motd.yml
2026-06-07 14:33:26 +01:00

17 lines
358 B
YAML

- 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