From ea1e2141e535321d3e5d1491c6774303b86af14b Mon Sep 17 00:00:00 2001 From: Denis Knauf Date: Sun, 22 Sep 2024 15:45:21 +0200 Subject: [PATCH] sshd_config: [Ii]nclude --- tasks/sshd_config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/sshd_config.yml b/tasks/sshd_config.yml index ab61f7e..4054ae6 100644 --- a/tasks/sshd_config.yml +++ b/tasks/sshd_config.yml @@ -52,8 +52,8 @@ - lineinfile: path: /etc/ssh/sshd_config insertbefore: BOF - regexp: '^\s*include\s+/etc/ssh/sshd_config.d/' - line: 'include /etc/ssh/sshd_config.d/*.conf' + regexp: '^\s*[iI]nclude\s+/etc/ssh/sshd_config.d/' + line: 'Include /etc/ssh/sshd_config.d/*.conf' firstmatch: true tags: sshd - when: 'false == sshd_include_option'