homeserver/roles/mgrote_docker_housekeeping/handlers/main.yml

15 lines
296 B
YAML
Raw Permalink Normal View History

---
- name: systemctl daemon-reload
become: true
ansible.builtin.systemd:
daemon_reload: true
notify: Start timer
- name: Start timer
become: true
ansible.builtin.systemd:
name: docker_housekeeping.timer
state: restarted
enabled: true
notify: systemctl daemon-reload