We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b5b2e9 commit e7b5b93Copy full SHA for e7b5b93
handlers/main.yml
@@ -1,4 +1,8 @@
1
---
2
+- name: reload systemd
3
+ systemd_service:
4
+ daemon_reload: true
5
+
6
- name: restart ssh
7
service:
8
name: "{{ security_sshd_name }}"
tasks/ssh.yml
@@ -29,7 +29,9 @@
29
line: "GSSAPIAuthentication {{ security_ssh_gss_api_authentication }}"
30
- regexp: "^X11Forwarding"
31
line: "X11Forwarding {{ security_ssh_x11_forwarding }}"
32
- notify: restart ssh
+ notify:
33
+ - reload systemd
34
+ - restart ssh
35
36
- name: Add configured users allowed to connect over ssh
37
lineinfile:
0 commit comments