Fiddle with database vars wiring
This commit is contained in:
parent
4d3d1641f6
commit
ceffb97230
@ -3,9 +3,8 @@
|
|||||||
- name: Run database setup tasks
|
- name: Run database setup tasks
|
||||||
when: db is defined
|
when: db is defined
|
||||||
block:
|
block:
|
||||||
- name: Setup preparatory facts
|
- name: Setup database facts
|
||||||
set_fact:
|
set_fact:
|
||||||
db_type: "{{ db.type }}"
|
|
||||||
mount_map:
|
mount_map:
|
||||||
mariadb: /var/lib/mysql
|
mariadb: /var/lib/mysql
|
||||||
|
|
||||||
|
@ -4,6 +4,6 @@
|
|||||||
# already (due to the order of the tasks we define for our deployment steps)
|
# already (due to the order of the tasks we define for our deployment steps)
|
||||||
- name: Export variable placeholders
|
- name: Export variable placeholders
|
||||||
set_fact:
|
set_fact:
|
||||||
dokku_db_addr: ""
|
dokku_mariadb_db_addr: "dokku-mariadb-{{ app }}"
|
||||||
dokku_db_user: ""
|
dokku_mariadb_db_user: "mariadb"
|
||||||
dokku_hostname: "{{ lookup('file', '/home/dokku/HOSTNAME') }}"
|
dokku_hostname: "{{ lookup('file', '/home/dokku/HOSTNAME') }}"
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
- name: Include certs tasks
|
- name: Include certs tasks
|
||||||
include: ./lib/certs.yml
|
include: ./lib/certs.yml
|
||||||
|
|
||||||
- name: Include proxy tasks
|
|
||||||
include: ./lib/proxy.yml
|
|
||||||
|
|
||||||
- name: Include https tasks
|
- name: Include https tasks
|
||||||
include: ./lib/https.yml
|
include: ./lib/https.yml
|
||||||
|
|
||||||
|
- name: Include proxy tasks
|
||||||
|
include: ./lib/proxy.yml
|
||||||
|
Reference in New Issue
Block a user