|
|
|
@ -14,12 +14,14 @@ dependencies:
|
|
|
|
|
path: /etc/ssh/sshd_config
|
|
|
|
|
regexp: '^#?ChallengeResponseAuthentication'
|
|
|
|
|
line: 'ChallengeResponseAuthentication yes'
|
|
|
|
|
notify: Reload sshd
|
|
|
|
|
|
|
|
|
|
- name: Set UsePAM in sshd conf
|
|
|
|
|
lineinfile:
|
|
|
|
|
path: /etc/ssh/sshd_config
|
|
|
|
|
regexp: '^#?UsePAM'
|
|
|
|
|
line: 'UsePAM yes'
|
|
|
|
|
notify: Reload sshd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|