sshd_config: [Ii]nclude

This commit is contained in:
Denis Knauf 2024-09-22 15:45:21 +02:00
parent 3da14701bd
commit ea1e2141e5

View file

@ -52,8 +52,8 @@
- lineinfile: - lineinfile:
path: /etc/ssh/sshd_config path: /etc/ssh/sshd_config
insertbefore: BOF insertbefore: BOF
regexp: '^\s*include\s+/etc/ssh/sshd_config.d/' regexp: '^\s*[iI]nclude\s+/etc/ssh/sshd_config.d/'
line: 'include /etc/ssh/sshd_config.d/*.conf' line: 'Include /etc/ssh/sshd_config.d/*.conf'
firstmatch: true firstmatch: true
tags: sshd tags: sshd
- when: 'false == sshd_include_option' - when: 'false == sshd_include_option'