knot: rewrite role

This commit is contained in:
ace
2024-01-20 04:26:37 +03:00
parent 37225e7895
commit bf1fae3c45
11 changed files with 104 additions and 36 deletions

View File

@ -0,0 +1,6 @@
---
- name: Restart knot
systemd:
name: knot
state: restarted
daemon_reload: true

View File

@ -1,4 +0,0 @@
---
- name: restart knot
service: "name=knot state=restarted"
become: true