reload ssh
This commit is contained in:
parent
b6e22ff91d
commit
522c372e49
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue