17 lines
358 B
YAML
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 |