No description
| defaults | ||
| meta | ||
| tasks | ||
| .gitignore | ||
| README.md | ||
ansible-roles-chroma
This role deploys chroma vector database
- https://docs.trychroma.com/production/containers/docker
- https://github.com/chroma-core/chroma/blob/main/docker-compose.yml
Task Configuration
- name: Setup chroma
hosts: somehost
become: true
roles:
- role: chroma
- role: firewalld
firewalld_add:
- name: public
ports:
- 8000/tcp
Deployment and Removal
systemctl --user stop container-chroma.service
Deploy
ansible-playbook -i hosts site.yml --tags=firewalld,chroma --limit=somehost
Remove
ansible-playbook -i hosts site.yml --tags=firewalld,chroma --extra-vars "container_state=absent firewall_action=remove" --limit=somehost