From f17dcb2e0b4fc58a0bb3d1ecc5070aab82b82202 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 17:01:37 +0200
Subject: [PATCH] Add default_maintenance_email

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

diff --git a/README.md b/README.md
index 480820e..d2350b9 100644
--- a/README.md
+++ b/README.md
@@ -19,6 +19,7 @@ Variables from default directory :
 * odoo_master_pass: Odoo Master Password (required for operations on database from Web interface)
 * odoo_version: Odoo version to be deployed (defaults to 10.0)
 * odoo_bin_name: Odoo executable (defaults to odoo-bin which is in use since version 10.0)
+* default_maintenance_email: e-mail used to generate Let's Encrypt SSL certificate
 * Custom modules to be added to Odoo sources:
   * custom_modules_base_url: Where to fetch custom modules from (defaults to https://sources.le-filament.com/lefilament)
   * odoo_custom_modules: list of custom modules to be fetched from previous URL
@@ -54,6 +55,7 @@ Example Playbook
       - { odoo_url: "odoo.example.org" }
       - { odoo_master_pass: "odooMasterPasswordToBeModified" }
       - { odoo_version: "10.0" }
+      - { default_maintenance_email: "maintenance@example.org" }
 
 
 License
diff --git a/defaults/main.yml b/defaults/main.yml
index 75e4653..541bb15 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -11,6 +11,9 @@ odoo_url: "odoo.example.org"
 # Odoo Master password
 odoo_master_pass: "odooMasterPasswordToBeModified"
 
+# E-mail used to generate Let's Encrypt SSL certificate
+default_maintenance_email: "maintenance@example.org"
+
 # Odoo vesion and daemon name
 odoo_version: "10.0"
 odoo_bin_name: "odoo-bin"
-- 
GitLab