Add a postgresql_client role

The role is empty but is used to explicitly define servers that have
access rights to all PostgreSQL databases and users
This commit is contained in:
Greg Karékinian
2020-06-12 16:54:58 +02:00
parent 6f696d7634
commit ee9c241a4d
4 changed files with 26 additions and 19 deletions

View File

@@ -1,10 +1,12 @@
name "ejabberd"
default_run_list = %w(
role[postgresql_client]
kosmos-ejabberd::default
)
production_run_list = %w(
role[postgresql_client]
kosmos-ejabberd::default
kosmos-ejabberd::letsencrypt
kosmos-ejabberd::backup

View File

@@ -1,6 +1,7 @@
name "gitea"
run_list %w(
role[postgresql_client]
kosmos_gitea::default
kosmos_gitea::backup
)

View File

@@ -0,0 +1,5 @@
# This role is used by the kosmos-postgresql::default recipe to add access
# rules to every server that is a PostgreSQL client
name "postgresql_client"
run_list []