Setup Linux machines using Ansible
Go to file
Michael Mandl 75187a8f26
Use python3 for packages
2020-09-14 10:04:56 +02:00
roles Use python3 for packages 2020-09-14 10:04:56 +02:00
README.md Fixed code formatting 2020-05-31 17:35:25 +02:00
arch.yaml Added dev-machine packages 2020-06-21 22:50:31 +02:00
inventory.yaml Added arch machine setup 2020-06-21 19:58:45 +02:00
wsl-debian.yaml Install pinentry-powershell to wsl 2020-09-14 10:04:10 +02:00

README.md

Invocation

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

WSL Debian setup

cmd.exe:

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