Setup Linux machines using Ansible
Find a file
2021-10-25 08:35:13 +02:00
roles fix: set sddm permissions after installation 2021-10-25 08:35:13 +02:00
.gitignore Added script to import already installed ssh- and gpg keys 2021-02-07 14:48:38 +01:00
arch.yaml feat: remove teamviewer 2021-07-19 08:08:34 +02:00
import-local-keys.sh Added script to import already installed ssh- and gpg keys 2021-02-07 14:48:38 +01:00
inventory.yaml Use python3 on wsl clients 2020-11-13 08:37:33 +01:00
README.md feat: updated to use kewlfft.aur from collection instead of local install 2021-10-25 08:27:38 +02:00
wsl-debian.yaml Updated arch config 2021-01-28 14:27:05 +01:00

Invocation

export GITHUB_ACCESS_TOKEN=xxxxxxxxx
ansible-playbook --inventory inventory.yaml wsl-debian.yaml

Arch Linux

Install aur collection:

ansible-galaxy collection install kewlfft.aur

Run

ansible-playbook --ask-become-pass --inventory inventory.yaml arch.yaml
```

## WSL Debian setup

cmd.exe:

```bat
wsl.exe --unregister Debian
Debian.exe install --root

root@debian:

apt-get update
apt-get -y install openssh-server python3
service ssh start
ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa -q
echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDmgEJRfpPRxQvzuCuEuDwarjzXaebBgbDsSNDZwm6EfJ2Arq15oYkGCB4oK45e2rfT8kaumpZ+7NteCRCJsrc3Cv/ivMkIekSLNuGAKe1bwM+QLraz2RLuCvH42AY+i7Tcg3LYihJgBw77/lseXstZ5RqkpxDCK2sSd/1qE1vYLTtXnAPwibQP/MWE7WPbHqjcBWSSe+XKl2b6sGiTA3H3KABIgHB6FSCbLmhqVMaDzwufkWhs/oeQnc6Kt7C8GA4x1DhAJmmZ237r4h/pu02KHpyL2OI2Z1sziBWNob/+WD0v/3jyzxaWcDWsOkEE1BE73osRbFU0W3sBnrGY8f7D mandl@DESKTOP-IH85M40" >> ~/.ssh/authorized_keys