ansible/roles/update_motd/handlers/main.yml

10 lines
168 B
YAML

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