This repository has been archived on 2020-05-07. You can view files and clone it, but cannot push or open issues or pull requests.
dokku-ansible-deploy/plays/lib/prepare.yml

10 lines
446 B
YAML
Raw Normal View History

2020-04-13 13:02:55 +00:00
---
# Note(decentral1se): to avoid exploding when we import the config.yml from the
# end-user, we spoof out variables that are referenced there but not populated
# already (due to the order of the tasks we define for our deployment steps)
- name: Export variable placeholders
set_fact:
2020-04-13 13:19:06 +00:00
dokku_mariadb_db_addr: "dokku-mariadb-{{ app }}"
dokku_mariadb_db_user: "mariadb"
2020-04-13 13:02:55 +00:00
dokku_hostname: "{{ lookup('file', '/home/dokku/HOSTNAME') }}"