From 16899773cfa4705d8aeaaef22bc879bc36610165 Mon Sep 17 00:00:00 2001 From: Brian Lee Date: Fri, 14 Jul 2023 10:53:53 -0700 Subject: [PATCH] Add handler event. --- tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 09cffef..2b7fd7f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -31,4 +31,5 @@ path: /etc/ssh/sshd_config regex: 'HostKey /etc/ssh/ssh_host_ed25519_key' line: 'HostKey /etc/ssh/ssh_host_ed25519_key' - state: present \ No newline at end of file + state: present + notify: restart sshd \ No newline at end of file