From 15d5056111eccd0624e9c8072a9fc01f76de2fb6 Mon Sep 17 00:00:00 2001 From: David Kilias Date: Tue, 9 Feb 2021 08:06:32 +0100 Subject: [PATCH] make CONFIG_EMAIL configurable --- roles/dehydrated/defaults/main.yml | 1 + roles/dehydrated/templates/config.j2 | 1 + 2 files changed, 2 insertions(+) diff --git a/roles/dehydrated/defaults/main.yml b/roles/dehydrated/defaults/main.yml index 8c68c9f..74a8e83 100644 --- a/roles/dehydrated/defaults/main.yml +++ b/roles/dehydrated/defaults/main.yml @@ -1,5 +1,6 @@ --- dehydrated_version: "v0.7.0" +dehydrated_contact_email: "" dehydrated_location: "/usr/local/share/dehydrated" dehydrated_binary: "/usr/local/bin/dehydrated" dehydrated_config_dir: "/usr/local/etc/dehydrated" diff --git a/roles/dehydrated/templates/config.j2 b/roles/dehydrated/templates/config.j2 index b7a6b98..bfaec71 100644 --- a/roles/dehydrated/templates/config.j2 +++ b/roles/dehydrated/templates/config.j2 @@ -1,2 +1,3 @@ HOOK={{ dehydrated_config }}/hook.sh WELLKNOWN={{ dehydrated_wellknown }} +CONTACT_EMAIL={{ dehydrated_contact_email }}