Enable root ssh login

This commit is contained in:
sandwich committed 2024-10-30 18:54:15 +01:00
1 parent fa175eeb78
commit 510bf0af89
1 file changed
+6
+6
View File
@@ -89,6 +89,12 @@
regexp: "#PasswordAuthentication yes"
replace: PasswordAuthentication yes
- name: SSH permit root login
ansible.builtin.replace:
path: /mnt/etc/ssh/sshd_config
regexp: "^#?PermitRootLogin.*"
replace: "PermitRootLogin yes"
- name: Enable Systemd Services
ansible.builtin.command: >
arch-chroot /mnt systemctl enable NetworkManager