1
0
Fork 0

Add octoprint handlers

This commit is contained in:
Daniele Tricoli 2021-06-06 23:58:56 +02:00
parent 73cedffdff
commit 3f99821ae7
1 changed files with 13 additions and 0 deletions

View File

@ -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 }}"