#!/bin/bash
# LXC Common Provisioning Runner (based on configure.sh)
# Spins up persistent ansible container, runs lxc_common role, then stops

docker compose up -d

docker exec -it ansible ansible-playbook playbooks/main.yml -i terraform-prefill/inventory-lxc.yml --limit lxcs --tags lxc_common -v

docker compose down

