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
2020-04-13 15:19:06 +02:00

10 lines
446 B
YAML

---
# 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:
dokku_mariadb_db_addr: "dokku-mariadb-{{ app }}"
dokku_mariadb_db_user: "mariadb"
dokku_hostname: "{{ lookup('file', '/home/dokku/HOSTNAME') }}"