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