From b85617522404fc871df27e41f557918208fb3197 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Mon, 13 Apr 2020 19:04:32 +0200 Subject: [PATCH] Set https and allow to override --- plays/lib/prepare.yml | 1 + plays/post_deploy.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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