From 8ca5d417552fab56cb93fc09cea1e48afbbdf001 Mon Sep 17 00:00:00 2001 From: olli <> Date: Wed, 23 Oct 2024 09:09:53 +0200 Subject: [PATCH] no ssh restart - unclear error in ansible playbook run --- hardening.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/hardening.yml b/hardening.yml index 8a3a1fd..ace78c3 100644 --- a/hardening.yml +++ b/hardening.yml @@ -45,8 +45,8 @@ AddressFamily any backup: yes validate: /usr/sbin/sshd -T -f %s - notify: - - Restart sshd +# notify: +# - Restart sshd when: nocontainer.stat.exists == true - name: Disable external sftp-Subsystem @@ -56,16 +56,16 @@ replace: '#\1' validate: /usr/sbin/sshd -T -f %s backup: yes - notify: - - Restart sshd +# notify: +# - Restart sshd when: nocontainer.stat.exists == true - handlers: - - - name: Restart sshd - service: - name: sshd - state: restarted +# handlers: +# +# - name: Restart sshd +# service: +# name: sshd +# state: restarted