Rewrote the names for two tasks
This commit is contained in:
@@ -196,9 +196,9 @@
|
||||
owner: root
|
||||
group: root
|
||||
mode: "u=rw,g=r,o=r"
|
||||
- name: "disabling password authentication"
|
||||
- name: "disabling ssh password authentication"
|
||||
ansible.builtin.shell: 'printf "PasswordAuthentication no\n" >> {{ ssh_auth_file }}'
|
||||
- name: "disabling empty password usage"
|
||||
- name: "disabling ssh empty password usage"
|
||||
ansible.builtin.shell: 'printf "PermitEmptyPasswords no\n" >> {{ ssh_auth_file }}'
|
||||
- name: "disabling ssh root login"
|
||||
ansible.builtin.shell: 'printf "PermitRootLogin no\n" > {{ ssh_no_root }}'
|
Reference in New Issue
Block a user