Enable root ssh login
This commit is contained in:
parent
fe2b216fc7
commit
6705411b2d
@ -89,6 +89,12 @@
|
|||||||
regexp: "#PasswordAuthentication yes"
|
regexp: "#PasswordAuthentication yes"
|
||||||
replace: 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
|
- name: Enable Systemd Services
|
||||||
ansible.builtin.command: >
|
ansible.builtin.command: >
|
||||||
arch-chroot /mnt systemctl enable NetworkManager
|
arch-chroot /mnt systemctl enable NetworkManager
|
||||||
|
Loading…
Reference in New Issue
Block a user