blob: c284e2d5ac188692e14b137eaaaf6dcb361e01a3 (
plain)
1
2
3
4
|
- name: Accès uniquement par clé ssh
lineinfile: dest=/etc/ssh/sshd_config state=present backrefs=yes regexp="^PasswordAuthentication yes"
line="PasswordAuthentication no"
notify: restart sshd
|