elliotpryde / ansible-wsl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible WSL workstation setup

This playbook installs development tools for any of my Ubuntu workstations.

Requirements

For WSL

Installing

Install Ansible

sudo apt update && sudo apt upgrade -y
sudo apt install ansible -y

Get the playbook

git clone https://github.com:elliotpryde/ansible-ubuntu-desktop.git
ansible-galaxy install -r requirements.yaml

Set your secret variables

Copy secrets.yaml.tmpl to secrets.yaml.tmpl and fill it with your secrets.

Run the playbook

ansible-playbook playbook.yaml --ask-become-pass

Optional

This machine has a Github SSH key now that the playbook has run so that we can update the repository remote to use SSH authentication.

git remote rm origin
git remote add origin git@github.com:elliotpryde/ansible-ubuntu-desktop.git

About


Languages

Language:Shell 100.0%