ansible/roles/update_motd/handlers/main.yml

11 lines
167 B
YAML
Raw Normal View History

2021-03-06 04:30:32 +01:00
---
- name: Remove cached motd
become: true
file:
2021-03-11 20:15:35 +01:00
path: "{{ item }}"
2021-03-06 04:30:32 +01:00
state: absent
loop:
- /var/run/motd.dynamic
- /var/run/motd.dynamic.new
...