Skip to content

Commit 9585927

Browse files
committed
Fix for newline in ChallengeResponseAuthentication
1 parent 7cd7abc commit 9585927

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/main.yml

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

45
- name: ensure firewalld is running
56
service:
@@ -271,8 +272,7 @@
271272
- regexp: '^(#)?RhostsRSAAuthentication'
272273
line: "#RhostsRSAAuthentication no"
273274
- regexp: '^(#)?ChallengeResponseAuthentication'
274-
line: |
275-
ChallengeResponseAuthentication {{ ChallengeResponseAuthentication }}
275+
line: "ChallengeResponseAuthentication {{ ChallengeResponseAuthentication }}"
276276
- regexp: '^UsePAM'
277277
line: 'UsePAM yes'
278278
- regexp: '^(#)?AllowGroups'

0 commit comments

Comments
 (0)