Skip to content

A DevContainer environment for playing around with ansible.

License

Notifications You must be signed in to change notification settings

Xenion1987/ansible-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f664433 · Feb 28, 2025

History

87 Commits
Feb 28, 2025
Feb 28, 2025
Mar 2, 2023
Feb 28, 2025
Feb 28, 2025
Feb 28, 2025
Feb 28, 2025
Feb 28, 2025
Sep 16, 2024
Oct 23, 2023
Sep 23, 2024
Oct 23, 2023
Feb 28, 2025
Feb 28, 2025

Repository files navigation

ansible-playground

pre-commit pre-commit ansible-tests

Installing

Install requirements

  1. vscode
  2. docker compose
  3. vscode plugins
    1. Dev Containers

Clone this repository

git clone https://github.com/Xenion1987/ansible-playground.git

Start the playground

Start the ansible control container

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.

Contributing

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.

About

A DevContainer environment for playing around with ansible.

Topics

Resources

License

Stars

Watchers

Forks

Languages