sshd_config: [Ii]nclude
This commit is contained in:
parent
3da14701bd
commit
ea1e2141e5
1 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue