Ansible Playbooks for setting up a DevOps focused workstation.
Used on:
- WSL2 with the Ubuntu app.
The current version of this playbook is tested with
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"
This playbook and each role is tested regularly with Molecule.
Follow the Windows Subsystem for Linux Installation Guide for Windows 10
Run the following:
# Clone to your home directory
git clone https://github.com/Skalador/setup-wsl.git
# Installs dependencies and run the playbook
make run
This playbook contains four roles. Each role focuses on a specific capability. To see the included packages follow the links below:
Testing is done with Molecule and make.
The entire playbook can be tested from the root of the repository with:
make test
Each role can be tested separately with
make test-$ROLENAME
The tests rely on docker images from Jeff Geerling. Those images ensure the docker container behaves like a usual VM (systemd,...).