sshd_config: [Ii]nclude
This commit is contained in:
parent
3da14701bd
commit
ea1e2141e5
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue