From ab382ae895b6e7ea60e591aa410271d28a3242ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com>
Date: Fri, 11 Jun 2021 16:59:13 +0200
Subject: [PATCH] Remove unused maintenance_email

---
 README.md         | 2 --
 defaults/main.yml | 3 ---
 2 files changed, 5 deletions(-)

diff --git a/README.md b/README.md
index 88a8433..8b4c961 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,6 @@ Variables from default directory :
 * mm_db_name: Database name
 * mm_db_user: Database user
 * mm_db_pass: Database password
-* default_maintenance_email: maintenance e-mail used to request Let's Encrypt certificate
 * Mail configuration (optional, if set, a postfix proxy will be deployed, otherwise a mailhog instance will be deployed for blocking e-mails)
   * mailname: domain to which the users belong to
   * mailserver: SMTP server to use for sending e-mails (defaults to smtp.{{ domain }})
@@ -48,7 +47,6 @@ Including an example of how to use your role (for instance, with variables passe
       vars:
          - { mm_url: "mattermost.example.org" }
          - { mm_db_pas: "veryUnsecurePassToBeModified" }
-         - { default_maintenance_email: "maintenance@example.org" }
 
 License
 -------
diff --git a/defaults/main.yml b/defaults/main.yml
index 0c5525c..dc23f37 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -6,9 +6,6 @@ mm_db_name: "mattermost"
 mm_db_user: "mattermost"
 mm_db_pass: "veryUnsecurePassToBeModified"
 
-# Maintenance e-mail for Let's Encrypt certificate
-default_maintenance_email: maintenance@{{ domain }}
-
 # OPTIONAL - Mailserver, if defined a postfix proxy will be deployed, otherwise MailHog will be deployed
 # mailname: example.org
 # mailserver: smtp.example.org
-- 
GitLab