mirror of
https://github.com/Alkatrazz24/Funk-lab.git
synced 2026-07-08 11:44:43 +02:00
fix(ansible/postgresql): no_log sur Grant + alias db déprécié → database
- Grant user privileges : ajout no_log:true (mot de passe visible en clair dans les logs Ansible en cas d'échec via item loop) - Alias 'db' déprécié par community.postgresql → renommé 'database' - litellm DB recrée manuellement (corruption pg_attribute copiée depuis RAID) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
77c4fe99c2
commit
bdd36d7188
1 changed files with 2 additions and 1 deletions
|
|
@ -129,7 +129,7 @@
|
||||||
|
|
||||||
- name: Grant user privileges on their database
|
- name: Grant user privileges on their database
|
||||||
community.postgresql.postgresql_privs:
|
community.postgresql.postgresql_privs:
|
||||||
db: "{{ item.db }}"
|
database: "{{ item.db }}"
|
||||||
privs: ALL
|
privs: ALL
|
||||||
type: database
|
type: database
|
||||||
role: "{{ item.name }}"
|
role: "{{ item.name }}"
|
||||||
|
|
@ -137,6 +137,7 @@
|
||||||
become: true
|
become: true
|
||||||
become_user: postgres
|
become_user: postgres
|
||||||
loop: "{{ postgresql_users }}"
|
loop: "{{ postgresql_users }}"
|
||||||
|
no_log: true
|
||||||
|
|
||||||
# Firewall géré centralement par le rôle gateway (nftables)
|
# Firewall géré centralement par le rôle gateway (nftables)
|
||||||
# Port 5432 ouvert pour cluster_network dans nftables.conf.j2
|
# Port 5432 ouvert pour cluster_network dans nftables.conf.j2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue