Selaa lähdekoodia

[caddy] Use services instead of command

Colin Powell 4 vuotta sitten
vanhempi
commit
f4e7545841
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 3 1
      ansible/roles/caddy/handlers/main.yml

+ 3 - 1
ansible/roles/caddy/handlers/main.yml

@@ -1,3 +1,5 @@
 ---
 - name: Caddy restarted
-  command: service caddy restart
+  service:
+    name: caddy
+    state: restarted