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:02:55 +02:00

10 lines
400 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_db_addr: ""
dokku_db_user: ""
dokku_hostname: "{{ lookup('file', '/home/dokku/HOSTNAME') }}"