Add role-specific annotations for mash_playbook_devture_postgres_managed_databases_auto_itemized
This commit is contained in:
parent
cbdf15440a
commit
74dbc2dda4
1 changed files with 77 additions and 0 deletions
|
@ -542,6 +542,7 @@ devture_postgres_gid: "{{ mash_playbook_gid }}"
|
|||
devture_postgres_systemd_services_to_stop_for_maintenance_list_auto: "{{ devture_systemd_service_manager_services_list_auto | map(attribute='name') | reject('equalto', (devture_postgres_identifier + '.service')) }}"
|
||||
|
||||
mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
||||
# role-specific:authelia
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -550,6 +551,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': authelia_config_storage_postgres_password,
|
||||
} if authelia_enabled and authelia_config_storage_postgres_host == devture_postgres_identifier else omit)
|
||||
}}
|
||||
# /role-specific:authelia
|
||||
|
||||
# role-specific:authentik
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -558,6 +562,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': authentik_database_password,
|
||||
} if authentik_enabled and authentik_database_hostname == devture_postgres_identifier else omit)
|
||||
}}
|
||||
# /role-specific:authentik
|
||||
|
||||
# role-specific:focalboard
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -566,6 +573,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': focalboard_database_password,
|
||||
} if focalboard_enabled and focalboard_database_type == 'postgres' and focalboard_database_hostname == devture_postgres_identifier else omit)
|
||||
}}
|
||||
# /role-specific:focalboard
|
||||
|
||||
# role-specific:freshrss
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -574,6 +584,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': freshrss_database_password,
|
||||
} if freshrss_enabled and freshrss_database_hostname == devture_postgres_identifier else omit)
|
||||
}}
|
||||
# /role-specific:freshrss
|
||||
|
||||
# role-specific:funkwhale
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -582,6 +595,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': funkwhale_database_password,
|
||||
} if funkwhale_enabled and funkwhale_database_hostname == devture_postgres_identifier else omit)
|
||||
}}
|
||||
# /role-specific:funkwhale
|
||||
|
||||
# role-specific:gitea
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -590,6 +606,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': gitea_config_database_password,
|
||||
} if gitea_enabled else omit)
|
||||
}}
|
||||
# /role-specific:gitea
|
||||
|
||||
# role-specific:healthchecks
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -598,6 +617,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': healthchecks_database_password,
|
||||
} if healthchecks_enabled and healthchecks_database_hostname == devture_postgres_identifier else omit)
|
||||
}}
|
||||
# /role-specific:healthchecks
|
||||
|
||||
# role-specific:woodpecker_ci_server
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -606,6 +628,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': devture_woodpecker_ci_server_database_datasource_password,
|
||||
} if devture_woodpecker_ci_server_enabled else omit)
|
||||
}}
|
||||
# /role-specific:woodpecker_ci_server
|
||||
|
||||
# role-specific:gotosocial
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -614,6 +639,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': gotosocial_database_password,
|
||||
} if gotosocial_enabled else omit)
|
||||
}}
|
||||
# /role-specific:gotosocial
|
||||
|
||||
# role-specific:ilmo
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -622,6 +650,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': ilmo_database_password,
|
||||
} if ilmo_enabled else omit)
|
||||
}}
|
||||
# /role-specific:ilmo
|
||||
|
||||
# role-specific:keycloak
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -630,6 +661,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': keycloak_database_password,
|
||||
} if keycloak_enabled and keycloak_database_type == 'postgres' and keycloak_database_hostname == devture_postgres_identifier else omit)
|
||||
}}
|
||||
# /role-specific:keycloak
|
||||
|
||||
# role-specific:lago
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -638,6 +672,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': lago_database_password,
|
||||
} if lago_enabled and lago_database_hostname == devture_postgres_identifier else omit)
|
||||
}}
|
||||
# /role-specific:lago
|
||||
|
||||
# role-specific:linkding
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -646,6 +683,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': linkding_database_password,
|
||||
} if linkding_enabled and linkding_database_engine == 'postgres' else omit)
|
||||
}}
|
||||
# /role-specific:linkding
|
||||
|
||||
# role-specific:miniflux
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -654,6 +694,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': miniflux_database_password,
|
||||
} if miniflux_enabled else omit)
|
||||
}}
|
||||
# /role-specific:miniflux
|
||||
|
||||
# role-specific:redmine
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -662,6 +705,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': redmine_database_password,
|
||||
} if redmine_enabled else omit)
|
||||
}}
|
||||
# /role-specific:redmine
|
||||
|
||||
# role-specific:n8n
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -670,6 +716,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': n8n_database_password,
|
||||
} if n8n_enabled else omit)
|
||||
}}
|
||||
# /role-specific:n8n
|
||||
|
||||
# role-specific:netbox
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -678,6 +727,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': netbox_database_password,
|
||||
} if netbox_enabled else omit)
|
||||
}}
|
||||
# /role-specific:netbox
|
||||
|
||||
# role-specific:nextcloud
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -686,6 +738,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': nextcloud_database_password,
|
||||
} if nextcloud_enabled else omit)
|
||||
}}
|
||||
# /role-specific:nextcloud
|
||||
|
||||
# role-specific:outline
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -694,6 +749,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': outline_database_password,
|
||||
} if outline_enabled and outline_database_hostname == devture_postgres_identifier else omit)
|
||||
}}
|
||||
# /role-specific:outline
|
||||
|
||||
# role-specific:oxitraffic
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -702,6 +760,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': oxitraffic_database_password,
|
||||
} if oxitraffic_enabled and oxitraffic_database_hostname == devture_postgres_identifier else omit)
|
||||
}}
|
||||
# /role-specific:oxitraffic
|
||||
|
||||
# role-specific:peertube
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -710,6 +771,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': peertube_config_database_password,
|
||||
} if peertube_enabled else omit)
|
||||
}}
|
||||
# /role-specific:peertube
|
||||
|
||||
# role-specific:prometheus_postgres_exporter
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -718,6 +782,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': prometheus_postgres_exporter_database_password,
|
||||
} if prometheus_postgres_exporter_enabled else omit)
|
||||
}}
|
||||
# /role-specific:prometheus_postgres_exporter
|
||||
|
||||
# role-specific:firezone
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -726,6 +793,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': firezone_database_password,
|
||||
} if firezone_enabled else omit)
|
||||
}}
|
||||
# /role-specific:firezone
|
||||
|
||||
# role-specific:vaultwarden
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -734,6 +804,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': vaultwarden_database_password,
|
||||
} if vaultwarden_enabled else omit)
|
||||
}}
|
||||
# /role-specific:vaultwarden
|
||||
|
||||
# role-specific:forgejo
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -742,6 +815,9 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': forgejo_config_database_password,
|
||||
} if forgejo_enabled else omit)
|
||||
}}
|
||||
# /role-specific:forgejo
|
||||
|
||||
# role-specific:roundcube
|
||||
- |-
|
||||
{{
|
||||
({
|
||||
|
@ -750,6 +826,7 @@ mash_playbook_devture_postgres_managed_databases_auto_itemized:
|
|||
'password': roundcube_database_password,
|
||||
} if roundcube_enabled and roundcube_database_hostname == devture_postgres_identifier else omit)
|
||||
}}
|
||||
# /role-specific:roundcube
|
||||
|
||||
devture_postgres_managed_databases_auto: "{{ mash_playbook_devture_postgres_managed_databases_auto_itemized | reject('equalto', omit) }}"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue