File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11---
22# tasks file for secure_ssh
3- # yamllint disable rule:line-length
43
54- name : ensure firewalld is running
65 service :
204203 line : " TrustedUserCAKeys /etc/ssh/{{ TrustedUserCAKeys }}"
205204 - regexp : ' ^(#)?RevokedKeys'
206205 line : " RevokedKeys /etc/ssh/revoked_keys"
206+ notify : restart sshd
207+ tags :
208+ - signed_ssh_keys
207209
208210- name : display the legal banner before user logs in.
209211 copy :
272274 - regexp : ' ^(#)?RhostsRSAAuthentication'
273275 line : " #RhostsRSAAuthentication no"
274276 - regexp : ' ^(#)?ChallengeResponseAuthentication'
275- line : " ChallengeResponseAuthentication {{ ChallengeResponseAuthentication }}"
277+ line : |
278+ ChallengeResponseAuthentication {{ ChallengeResponseAuthentication }}
276279 - regexp : ' ^UsePAM'
277280 line : ' UsePAM yes'
278281 - regexp : ' ^(#)?AllowGroups'
You can’t perform that action at this time.
0 commit comments