add ollama
Some checks are pending
/ run ansible (push) Waiting to run

This commit is contained in:
Gabriel Augendre 2024-12-15 17:44:51 +01:00
parent e0a7e6d9c8
commit e8c1a1323b
4 changed files with 23 additions and 0 deletions

View file

@ -13,6 +13,7 @@
- import_playbook: media.yaml # noqa: name[play] - import_playbook: media.yaml # noqa: name[play]
- import_playbook: miniflux.yaml # noqa: name[play] - import_playbook: miniflux.yaml # noqa: name[play]
- import_playbook: nextcloud-aio.yaml # noqa: name[play] - import_playbook: nextcloud-aio.yaml # noqa: name[play]
- import_playbook: ollama.yaml # noqa: name[play]
- import_playbook: paperless-ngx.yaml # noqa: name[play] - import_playbook: paperless-ngx.yaml # noqa: name[play]
- import_playbook: portainer.yaml # noqa: name[play] - import_playbook: portainer.yaml # noqa: name[play]
- import_playbook: privatebin.yaml # noqa: name[play] - import_playbook: privatebin.yaml # noqa: name[play]

View file

@ -30,3 +30,4 @@ versions
backups/hass backups/hass
paperless-ngx/data paperless-ngx/data
paperless-ngx/media paperless-ngx/media
ollama_data

View file

@ -0,0 +1,10 @@
services:
ollama:
image: ollama/ollama
restart: unless-stopped
ports:
- "11434:11434"
volumes:
- ./ollama_data:/root/.ollama
# init: true
# tty: true

View file

@ -0,0 +1,11 @@
---
- name: Ollama
hosts: servers
gather_facts: false
tasks:
- name: Docker
ansible.builtin.include_role:
name: docker
vars:
docker_app_name: ollama