reload ssh

This commit is contained in:
Jean-Marie Mineau 2021-04-15 16:28:28 +02:00
parent b6e22ff91d
commit 522c372e49

View file

@ -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