ansible/roles/update_motd/handlers/main.yml
2021-03-11 20:15:35 +01:00

10 lines
167 B
YAML

---
- name: Remove cached motd
become: true
file:
path: "{{ item }}"
state: absent
loop:
- /var/run/motd.dynamic
- /var/run/motd.dynamic.new
...