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