add postgresql role for ens. psql and opt. some dbs and users are set up

Add postgresql role for ensuring postgresql is installed.
Furthermore the role optionally takes some basic configuration to ensure
databases with their owners and users are set up as specified.

This is a requirement for a new netbox role.
This commit is contained in:
June 2025-02-13 03:24:15 +01:00
parent fc24bfff5d
commit 9662995377
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0
4 changed files with 95 additions and 0 deletions
roles/postgresql/defaults

View file

@ -0,0 +1,2 @@
postgresql__dbs: [ ]
postgresql__users: [ ]