- vscode
- docker compose
- vscode plugins
git clone https://github.com/Xenion1987/ansible-playground.git
Open the repository in vscode. Vscode should give you a hint, that it has detected a DevContainer config and asks you to reopen it in DevContainer. Accept to initialize and start the environment.
By default, this playground builds and starts 2 out of 4 clients (debian-12
and almalinux-8
). If you want to build and start all 4 clients, you have to uncomment the ubuntu
and suse
client in both docker-compose.yml and inventory.yml files.
This repository is pre-commit
enabled. Before commiting, all changes will be checked by pre-commit-hooks defined in .pre-commit-config.yaml. pre-commit
will be installed inside the devcontainer.
Before doing a git commit
, you should run pre-commit run --all-files
to run checks and fix mentioned warnings/errors.