Procházet zdrojové kódy

[caddy] Use services instead of command

Colin Powell před 4 roky
rodič
revize
f4e7545841
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  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