mirror of
https://github.com/Alkatrazz24/Funk-lab.git
synced 2026-07-10 21:44:43 +02:00
feat: initial commit — Ansible roles storage-01/gpu-01 opérationnels
This commit is contained in:
commit
b3fce8af5d
70 changed files with 2688 additions and 0 deletions
24
ansible/roles/postgresql/defaults/main.yml
Normal file
24
ansible/roles/postgresql/defaults/main.yml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
postgresql_version: 16
|
||||
postgresql_port: 5432
|
||||
postgresql_data_dir: /srv/data/postgres
|
||||
|
||||
# Écoute sur localhost + LAN cluster (pour les services k8s futurs)
|
||||
postgresql_listen_addresses: "localhost, 192.168.10.1"
|
||||
|
||||
postgresql_max_connections: 100
|
||||
postgresql_shared_buffers: "256MB"
|
||||
|
||||
# Bases et utilisateurs à créer
|
||||
# Mots de passe dans le vault : vault_pg_hermes_password, vault_pg_litellm_password
|
||||
postgresql_databases:
|
||||
- name: hermes
|
||||
- name: litellm
|
||||
|
||||
postgresql_users:
|
||||
- name: hermes
|
||||
password: "{{ vault_pg_hermes_password }}"
|
||||
db: hermes
|
||||
- name: litellm
|
||||
password: "{{ vault_pg_litellm_password }}"
|
||||
db: litellm
|
||||
Loading…
Add table
Add a link
Reference in a new issue