mirror of
https://github.com/Alkatrazz24/Funk-lab.git
synced 2026-07-08 14:34:43 +02:00
fix(k8s/open-webui): memory 1Gi→2Gi (OOMKill HuggingFace download au boot)
fix(ansible/postgresql): GRANT ALL ON SCHEMA public (PostgreSQL 15+ default) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
bdd36d7188
commit
f9609e48dd
2 changed files with 16 additions and 2 deletions
|
|
@ -139,5 +139,19 @@
|
|||
loop: "{{ postgresql_users }}"
|
||||
no_log: true
|
||||
|
||||
# PostgreSQL 15+ révoque CREATE ON SCHEMA public par défaut
|
||||
- name: Grant schema public to users (PostgreSQL 15+)
|
||||
community.postgresql.postgresql_privs:
|
||||
database: "{{ item.db }}"
|
||||
privs: ALL
|
||||
type: schema
|
||||
objs: public
|
||||
role: "{{ item.name }}"
|
||||
state: present
|
||||
become: true
|
||||
become_user: postgres
|
||||
loop: "{{ postgresql_users }}"
|
||||
no_log: true
|
||||
|
||||
# Firewall géré centralement par le rôle gateway (nftables)
|
||||
# Port 5432 ouvert pour cluster_network dans nftables.conf.j2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue