Skip to content
Snippets Groups Projects
Commit d1d02c79 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

feat: allow password auth in sshd

parent fa57806f
No related branches found
No related tags found
No related merge requests found
...@@ -43,3 +43,9 @@ ...@@ -43,3 +43,9 @@
ansible.builtin.file: ansible.builtin.file:
path: /tmp/passwd_auth path: /tmp/passwd_auth
state: absent state: absent
- name: Allow password auth in sshd
ansible.builtin.lineinfile:
path: /etc/ssh/sshd_config
regexp: '#?PasswordAuthentication .*$'
line: "PasswordAuthentication yes"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment