homeserver/roles/mgrote_docker_housekeeping/handlers/main.yml

14 lines
274 B
YAML
Raw Normal View History

2024-06-05 18:46:52 +02:00
---
- name: systemctl daemon-reload
become: true
ansible.builtin.systemd:
daemon_reload: true
2024-06-05 18:54:03 +02:00
- name: Start timer
2024-06-05 18:46:52 +02:00
become: true
ansible.builtin.systemd:
2024-06-05 18:51:11 +02:00
name: docker_housekeeping.timer
2024-06-05 18:46:52 +02:00
state: restarted
enabled: true
notify: systemctl daemon-reload