mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-12-22 14:01:58 +01:00
parent
e0a7e6d9c8
commit
e8c1a1323b
4 changed files with 23 additions and 0 deletions
|
@ -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]
|
||||||
|
|
|
@ -30,3 +30,4 @@ versions
|
||||||
backups/hass
|
backups/hass
|
||||||
paperless-ngx/data
|
paperless-ngx/data
|
||||||
paperless-ngx/media
|
paperless-ngx/media
|
||||||
|
ollama_data
|
||||||
|
|
10
playbooks/apps/files/ollama/docker-compose.yaml
Normal file
10
playbooks/apps/files/ollama/docker-compose.yaml
Normal 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
|
11
playbooks/apps/ollama.yaml
Normal file
11
playbooks/apps/ollama.yaml
Normal 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
|
Loading…
Reference in a new issue