diff --git a/plays/lib/prepare.yml b/plays/lib/prepare.yml index 8e5aa5f..201d366 100644 --- a/plays/lib/prepare.yml +++ b/plays/lib/prepare.yml @@ -4,6 +4,7 @@ # 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') }}" diff --git a/plays/post_deploy.yml b/plays/post_deploy.yml index 01503cb..6c8c051 100644 --- a/plays/post_deploy.yml +++ b/plays/post_deploy.yml @@ -16,7 +16,7 @@ - name: Include https tasks include: ./lib/https.yml - when: https is defined and https == true + when: https - name: Include proxy tasks include: ./lib/proxy.yml