Add (very basic) postgresql.privs option

This commit is contained in:
Julian Rother 2025-01-29 16:36:45 +01:00
parent f97b24dbdd
commit ee91be5330
Signed by: julian
GPG key ID: C19B924C0CD13341
2 changed files with 7 additions and 0 deletions

View file

@ -45,6 +45,12 @@
become: true
with_dict: "{{ postgresql.dbs }}"
- name: add postgresql privs
community.postgresql.postgresql_privs: "{{ item }}"
become_user: postgres
become: true
loop: "{{ postgresql.privs }}"
- name: add vacuum cronjob
cron:
name: db maintenance