Compare commits
2 Commits
08602d9c6f
...
ba8e19014b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ba8e19014b | ||
|
|
0f68e044a5 |
@ -22,3 +22,5 @@ all:
|
|||||||
ansible_host: 192.168.110.20
|
ansible_host: 192.168.110.20
|
||||||
urbackup:
|
urbackup:
|
||||||
ansible_host: 192.168.110.21
|
ansible_host: 192.168.110.21
|
||||||
|
llama01:
|
||||||
|
ansible_host: 192.168.130.52
|
||||||
|
|||||||
25
playbooks/lehmann-llama.yml
Normal file
25
playbooks/lehmann-llama.yml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
#
|
||||||
|
#
|
||||||
|
# Automated installation for jellyfin
|
||||||
|
#
|
||||||
|
# Project: playbooks
|
||||||
|
# Author: Tobias Lehmann <tobias.lehmann@captica.de>
|
||||||
|
# License: MIT License (see LICENSE.md)
|
||||||
|
#
|
||||||
|
# Copyright (c) captica GmbH est. 2021
|
||||||
|
#
|
||||||
|
- hosts: "llama01"
|
||||||
|
vars:
|
||||||
|
tools_install_users:
|
||||||
|
- ansible
|
||||||
|
- root
|
||||||
|
#ollama_models:
|
||||||
|
# - mistral
|
||||||
|
# - llama3.3
|
||||||
|
roles:
|
||||||
|
- linux-base-install
|
||||||
|
- zsh
|
||||||
|
- vim
|
||||||
|
- fzf
|
||||||
|
- ollama
|
||||||
|
- open-webui
|
||||||
@ -49,6 +49,16 @@ roles:
|
|||||||
src: git@git.captica.de:captica-automation/de.captica.automation.ansible.role.timescaledb.git
|
src: git@git.captica.de:captica-automation/de.captica.automation.ansible.role.timescaledb.git
|
||||||
scm: git
|
scm: git
|
||||||
version: main
|
version: main
|
||||||
|
|
||||||
|
- name: ollama
|
||||||
|
src: git@git.captica.de:captica-automation/de.captica.automation.ansible.role.ollama.git
|
||||||
|
scm: git
|
||||||
|
version: main
|
||||||
|
|
||||||
|
- name: open-webui
|
||||||
|
src: git@git.captica.de:captica-automation/de.captica.automation.ansible.role.open-webui.git
|
||||||
|
scm: git
|
||||||
|
version: main
|
||||||
|
|
||||||
# Collections requirements
|
# Collections requirements
|
||||||
collections:
|
collections:
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
image: timescale/timescaledb:pg16
|
image: timescale/timescaledb-ha:pg16
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=${DB_USER}
|
- POSTGRES_USER=${DB_USER}
|
||||||
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
||||||
- POSTGRES_DB=bankmanager
|
- POSTGRES_DB=harvester
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@ -64,6 +64,25 @@ services:
|
|||||||
- db
|
- db
|
||||||
- redis
|
- redis
|
||||||
|
|
||||||
|
elasticsearch:
|
||||||
|
image: docker.elastic.co/elasticsearch/elasticsearch:8.15.1
|
||||||
|
container_name: elasticsearch
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- /volumes/nextcloud/elasticsearch/data:/usr/share/elasticsearch/data
|
||||||
|
ports:
|
||||||
|
- 9200:9200
|
||||||
|
environment:
|
||||||
|
- discovery.type=single-node
|
||||||
|
- xpack.security.enabled=true
|
||||||
|
- ELASTIC_PASSWORD=elastic
|
||||||
|
- cluster.name=elasticsearch
|
||||||
|
- bootstrap.memory_lock=true
|
||||||
|
- ES_JAVA_OPTS=-Xms1g -Xmx1g
|
||||||
|
- xpack.security.http.ssl.enabled=false
|
||||||
|
networks:
|
||||||
|
DEFAULT_NETWORK:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
ipam:
|
ipam:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user