Skip to content

Instantly share code, notes, and snippets.

@Mubelotix
Mubelotix / setup.sh
Last active December 18, 2023 22:43
# Running:
# curl https://lstu.fr/mub -L | sh
apt install python3
useradd -m ansible
echo "ansible ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/ansible
echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN/ffsz9WW7KQjUF03q+Wv9oJy8RkqexXko7RtOFLVTm ansible" >> /home/ansible/.ssh/authorized_keys