Expand default vars to take care of mongodb

This commit is contained in:
Luke Murphy 2020-04-16 12:53:23 +02:00
parent 32ceaca084
commit 023465a5fa
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 8 additions and 0 deletions

View File

@ -46,8 +46,16 @@
dokku:
{
app: "{{ app }}",
mariadb_addr: "dokku-mariadb-{{ app }}",
mongodb_addr: "dokku-mongo-{{ app }}:27017",
mariadb_user: "mariadb",
mongodb_user: "{{ app }}",
mariadb_type: "mariadb",
mongodb_type: "mongodb",
hostname: "{{ lookup('file', '/home/dokku/HOSTNAME') }}",
host: "{{ inventory_hostname }}",
}