43 lines
994 B
YAML
43 lines
994 B
YAML
---
|
|
version: 1.1
|
|
|
|
postgresql: # PostgreSQL
|
|
|
|
client: # PostgreSQL as a client
|
|
|
|
server_domainname:
|
|
type: domainname
|
|
supplier: Postgresql
|
|
hidden: true
|
|
|
|
username:
|
|
supplier: Postgresql:username
|
|
hidden: true
|
|
default:
|
|
jinja: >-
|
|
{{ general.network.interface_0.domain_name | normalize_family }}
|
|
|
|
password:
|
|
type: secret
|
|
supplier: Postgresql:password
|
|
hidden: true
|
|
default:
|
|
jinja: >-
|
|
{% set server_name = _.server_domainname %}
|
|
{{ general.network.interface_0.domain_name |
|
|
get_password(server_name=server_name,
|
|
description="remote",
|
|
type="cleartext",
|
|
hide=general.hide_secret)
|
|
}}
|
|
|
|
database:
|
|
supplier: Postgresql:database
|
|
hidden: true
|
|
default:
|
|
variable: _.username
|
|
|
|
key_owner:
|
|
type: unix_user
|
|
hidden: true
|
|
default: apache
|