Skip to content

Commit e2861ed

Browse files
committed
adding a tag
1 parent 9585927 commit e2861ed

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tasks/main.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
# tasks file for secure_ssh
3-
# yamllint disable rule:line-length
43

54
- name: ensure firewalld is running
65
service:
@@ -204,6 +203,9 @@
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:
@@ -272,7 +274,8 @@
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'

0 commit comments

Comments
 (0)