The ai-stack role deploys the environment file to /etc/autobot/autobot-ai-stack.env but the systemd service templates reference {{ ai_install_dir }}/.env which resolves to /opt/autobot/autobot-ai-stack/.env.
This causes both the chromadb and ai-stack services to fail to start because they cannot find the environment file.
Files affected:
- autobot-slm-backend/ansible/roles/ai-stack/templates/autobot-chromadb.service.j2 (Line 15)
- autobot-slm-backend/ansible/roles/ai-stack/templates/autobot-ai-stack.service.j2 (Line 16)
Fix: Changed both to reference /etc/autobot/autobot-ai-stack.env which matches where the template is deployed (main.yml Line 51).
Impact: Reprovisioning will now start both chromadb and ai-stack services successfully.
The ai-stack role deploys the environment file to
/etc/autobot/autobot-ai-stack.envbut the systemd service templates reference{{ ai_install_dir }}/.envwhich resolves to/opt/autobot/autobot-ai-stack/.env.This causes both the chromadb and ai-stack services to fail to start because they cannot find the environment file.
Files affected:
Fix: Changed both to reference
/etc/autobot/autobot-ai-stack.envwhich matches where the template is deployed (main.yml Line 51).Impact: Reprovisioning will now start both chromadb and ai-stack services successfully.