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
|
path: /etc/ssh/sshd_config
|
||||||
regexp: '^#?ChallengeResponseAuthentication'
|
regexp: '^#?ChallengeResponseAuthentication'
|
||||||
line: 'ChallengeResponseAuthentication yes'
|
line: 'ChallengeResponseAuthentication yes'
|
||||||
|
notify: Reload sshd
|
||||||
|
|
||||||
- name: Set UsePAM in sshd conf
|
- name: Set UsePAM in sshd conf
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/ssh/sshd_config
|
path: /etc/ssh/sshd_config
|
||||||
regexp: '^#?UsePAM'
|
regexp: '^#?UsePAM'
|
||||||
line: 'UsePAM yes'
|
line: 'UsePAM yes'
|
||||||
|
notify: Reload sshd
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue