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

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