Browse Source

Add octoprint handlers

main
Daniele Tricoli 4 months ago
parent
commit
3f99821ae7
  1. 13
      roles/octoprint/handlers/main.yml

13
roles/octoprint/handlers/main.yml

@ -0,0 +1,13 @@
---
- name: systemctl daemon-reload
systemd:
daemon_reload: true
become: "{{ octoprint_become }}"
become_user: "{{ octoprint_become_user }}"
- name: systemctl restart octoprint
systemd:
name: octoprint.service
state: restarted
become: "{{ octoprint_become }}"
become_user: "{{ octoprint_become_user }}"
Loading…
Cancel
Save