that was so silly + restart sshd after disablepasswd

This commit is contained in:
kevinnlsamuel committed 2026-10-23 23:04:19 +05:30
1 parent 36cbf9861f
commit 161ce95e7e
2 files changed
+6 -1

No files matched your search

+5 -1
View File
@@ -1,4 +1,8 @@
- name: disable password auth
copy:
src: 00-nopasswd.conf
dest: /etc/ssh/ssh_config.d/00-nopasswd.conf
dest: /etc/ssh/sshd_config.d/00-nopasswd.conf
- name: restart sshd
service:
name: sshd
state: restarted