dataset/seed/postgresql/extras/accounts/00_accounts.yml

41 lines
870 B
YAML

---
version: 1.1
remotes:
description: Create account and connexion to a PostgreSQL server
type: domainname
multi: true
mandatory: false
hidden: true
provider: Postgresql
"remote_{{ suffix }}":
description: 'Account for {{ suffix }}'
hidden: true
dynamic:
variable: accounts.remotes
remote_ip:
description: 'Remote IP {{ suffix }}'
type: ip
default:
jinja: >-
{{ zones | get_ip(suffix) }}
params:
zones:
information: zones
suffix:
type: suffix
database:
description: 'Postgresql database name for {{ suffix }}'
provider: Postgresql:database
username:
description: 'Postgresql username for {{ suffix }}'
provider: Postgresql:username
password:
description: 'Postgresql password for {{ suffix }}'
type: secret
provider: Postgresql:password