From d318ed0cc7b0b3d02d2970cea9749e0507c5a1e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com>
Date: Thu, 17 Jun 2021 12:37:03 +0200
Subject: [PATCH] Double escape comments

---
 README.md         |  2 +-
 defaults/main.yml | 40 ++++++++++++++++++++--------------------
 vars/main.yml     |  2 --
 3 files changed, 21 insertions(+), 23 deletions(-)

diff --git a/README.md b/README.md
index d2350b9..bb85c0a 100644
--- a/README.md
+++ b/README.md
@@ -25,7 +25,7 @@ Variables from default directory :
   * odoo_custom_modules: list of custom modules to be fetched from previous URL
   * odoo_custom_modules_oca: list of dict (repo, list of modules) Odoo modules to be retrieved from OCA (https://github.com/OCA)
 * Banking variables - for Odoo automatic retrieval of statements (based on https://woob.tech/)
-* Backups :
+* Backups (for backups to be deployed, host needs to be in maintenance_contract group) :
   * swift parameters for 2 object storage instances where backups should be pushed daily
   * odoo_backup_pass : Passphrase for encryption of backups
 
diff --git a/defaults/main.yml b/defaults/main.yml
index 541bb15..944cec4 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -1,30 +1,30 @@
 ---
 
 ## Odoo configuration
-# URL for setting certificate
+## URL for setting certificate
 odoo_url: "odoo.example.org"
-# OPTIONAL : you can define whether you also want to authorize the same above URL with www. in front with the following variable
+## OPTIONAL : you can define whether you also want to authorize the same above URL with www. in front with the following variable
 # www_site: true
-# OPTIONAL : you can define a second URL to access you Odoo instance (which can also be combined with the above www_site)
+## OPTIONAL : you can define a second URL to access you Odoo instance (which can also be combined with the above www_site)
 # odoo_url2: "odoo2.example.org"
 
-# Odoo Master password
+## Odoo Master password
 odoo_master_pass: "odooMasterPasswordToBeModified"
 
-# E-mail used to generate Let's Encrypt SSL certificate
+## E-mail used to generate Let's Encrypt SSL certificate
 default_maintenance_email: "maintenance@example.org"
 
-# Odoo vesion and daemon name
+## Odoo vesion and daemon name
 odoo_version: "10.0"
 odoo_bin_name: "odoo-bin"
 
-# Custom modules developped by Le Filament (from https://sources.le-filament.com/lefilament)
+## Custom modules developped by Le Filament (from https://sources.le-filament.com/lefilament)
 custom_modules_base_url: "https://sources.le-filament.com/lefilament"
 odoo_custom_modules:
   - automatic_bank_statement_import
   - lefilament_export_journal
 
-# Odoo modules to be retrieved from OCA (https://github.com/OCA)
+## Odoo modules to be retrieved from OCA (https://github.com/OCA)
 odoo_custom_modules_oca:
   - repo: server-tools
     modules:
@@ -52,21 +52,21 @@ odoo_custom_modules_oca:
       - web_export_view
 
 ## Bank configuration - for Odoo automatic retrieval of statements (based on https://woob.tech/)
-# Should auto retrieval be activated ?
+## Should auto retrieval be activated ?
 banking: false
-# Bank name
+## Bank name
 bank: "caissedepargne"
-# Bank website (if required by woob)
+## Bank website (if required by woob)
 bank_website: "www.caisse-epargne.fr"
-# Bank user
+## Bank user
 bank_login: "12345677890"
-# Bank user id (if required by your bank)
+## Bank user id (if required by your bank)
 bank_userid: "0001"
-# Bank password
+## Bank password
 bank_pass: "123456"
-# Bank account
+## Bank account
 bank_account: "bankaccount1"
-# This role allows for defining up to 3 accounts for this bank, but also a second bank and 2 accounts with the following variables :
+## This role allows for defining up to 3 accounts for this bank, but also a second bank and 2 accounts with the following variables :
 # bank_account2: "bankaccount2"
 # bank_account3: "bankaccount3"
 # bank2: "cragr"
@@ -76,8 +76,8 @@ bank_account: "bankaccount1"
 # bank2_account: "bank2account1"
 # bank2_account: "bank2account2"
 
-# Backups
-# Parameters for pushing backups to Object Storage - Instance 1
+## Backups
+## Parameters for pushing backups to Object Storage - Instance 1
 swift_odoo_authurl: https://auth.cloud.ovh.net/v3/
 swift_odoo_authversion: 3
 swift_odoo_tenantid: "132e1fa"
@@ -85,7 +85,7 @@ swift_odoo_tenantname: "12312534534"
 swift_odoo_username: "testuser"
 swift_odoo_password: "testpassword"
 swift_odoo_regionname: "GRA"
-# Parameters for pushing backups to Object Storage - Instance 2
+## Parameters for pushing backups to Object Storage - Instance 2
 swift_odoo2_authurl: https://auth.cloud.ovh.net/v3/
 swift_odoo2_authversion: 3
 swift_odoo2_tenantid: "12323534ab"
@@ -93,5 +93,5 @@ swift_odoo2_tenantname: "123124235345"
 swift_odoo2_username: "testuser"
 swift_odoo2_password: "testpassword"
 swift_odoo2_regionname: "DE"
-# Passphrase for backups encryption
+## Passphrase for backups encryption
 odoo_backup_pass: notSecureEnoughPasswordToBeModified
diff --git a/vars/main.yml b/vars/main.yml
index 23dff8e..34c0bb5 100644
--- a/vars/main.yml
+++ b/vars/main.yml
@@ -1,6 +1,4 @@
 ---
-## fixed parameters
-# openerp
 odoo_user: odoo
 odoo_home: /opt/odoo
 odoo_port: 8069
-- 
GitLab