diff --git a/README.md b/README.md index d2350b9d2a579bf01058fbe7c68778749ac4ea57..bb85c0a71ad4815b39f333b591e246d2dd694acf 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 541bb15ce522a377e74f72f1101de434b67e3760..944cec4c47b01d41b92cda57f92cb58ba440565f 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 23dff8e3bd367200c9a2d00bbccc85816300257e..34c0bb50efed415f55549a441b46e396263c1219 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