services: ansible-agent: image: alpine:latest container_name: ansible_agent restart: unless-stopped volumes: # Map the SSH folder from your LXC into the Container - /root/.ssh:/root/.ssh:ro # Map the repo code (Dockhand usually does this in its working dir) - .:/ansible/infrastructure environment: - ANSIBLE_HOST_KEY_CHECKING=False entrypoint: | /bin/sh -c "apk add --no-cache ansible py3-pip git openssh-client && pip install --break-system-packages proxmoxer requests && sleep infinity" networks: - lab_net networks: lab_net: driver: bridge