diff --git a/roles/proxmox-backup/tasks/main.yml b/roles/proxmox-backup/tasks/main.yml index 9f9db9e..b3f35b9 100644 --- a/roles/proxmox-backup/tasks/main.yml +++ b/roles/proxmox-backup/tasks/main.yml @@ -58,18 +58,6 @@ mode: 0644 notify: reload interfaces -- name: Disable SSH password authentication - lineinfile: - path: /etc/ssh/sshd_config - regexp: '^#?{{ item.key }}' - line: '{{ item.key }} {{ item.value }}' - loop: - - key: PasswordAuthentication - value: 'no' - - key: PermitRootLogin - value: 'prohibit-password' - notify: reload sshd - - name: Run SSH instance in management VRF when: interfaces | selectattr('vrf') | selectattr('vrf.name', '==', 'mgmt') block: