ctucx.git: ansible-configs

My personal ansible roles and playbooks [deprecated in favor of nixos]

commit fda43ef4af5605406c0cff82e0ff9cff02284324
parent e8e34e593f06ce7e931198f68211ecb9cd8b4eb1
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sun, 28 Feb 2021 22:50:57 +0100

roles/openssh: fix handlers
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/roles/openssh/handlers/main.yml b/roles/openssh/handlers/main.yml
@@ -1,16 +1,16 @@
 ---
 
-- name: "[OpenRC] Restart service: openssh (to deploy config changes)"
+- name: "[OpenRC] Restart service: sshd (to deploy config changes)"
   service:
-    name: openssh
+    name: sshd
     state: restarted
   when:
     - ansible_service_mgr == "openrc"
   listen: "Restart openssh"
 
-- name: "[systemd] Restart service: openssh (to deploy config changes)"
+- name: "[systemd] Restart service: sshd (to deploy config changes)"
   systemd:
-    name: openssh
+    name: sshd
     state: restarted
   when:
     - ansible_service_mgr == "systemd"