51 lines
1.7 KiB
YAML
Raw Normal View History

2022-07-25 16:00:15 +02:00
---
2023-07-20 14:00:26 +02:00
# Version of Odoo to deploy (name of the branch of the git repo
2024-05-27 17:01:00 +02:00
odoo_version: 17.0
2023-07-20 14:00:26 +02:00
# URL of the repository
odoo_git_url: https://github.com/odoo/odoo.git
# Where will odoo be installed
2022-07-25 16:00:15 +02:00
odoo_root_dir: /opt/odoo
# User under which odoo will run (will be created if needed
odoo_user: odoo
2023-09-01 17:00:19 +02:00
# Enabling DB manager will :
# - Enable the Odoo database manager from the web interface
# - Make odoo a SUPERUSER on the postgres server (so it should use a dedicated postgres server)
odoo_db_manager: False
2023-09-08 10:00:12 +02:00
# When the DB manager is enabled, you can set a master password (used to manage databases). If not defined
# a random one will be created
# odoo_db_manager_pass: p@ssw0rd
2022-07-25 16:00:15 +02:00
# Database settings
odoo_db_server: "{{ pg_server | default('localhost') }}"
2023-07-20 14:00:26 +02:00
odoo_db_port: 5432
2022-07-25 16:00:15 +02:00
odoo_db_name: odoo
odoo_db_user: odoo
# If not defined, a random password will be generated and stored under {{ odoo_root_dir }}/meta
# odoo_db_pass: secret
# List of IP/CIDR which will be able to reach Odoo ports
2023-07-20 14:00:26 +02:00
# This should be empty most of the time to access Odoo only from the nginx reverse proxy
2022-07-25 16:00:15 +02:00
odoo_src_ip: []
2023-07-20 14:00:26 +02:00
# Public URL of the odoo instance
# odoo_public_url: https://erp.domain.tld/
2022-07-25 16:00:15 +02:00
odoo_http_port: 8069
2023-07-25 10:00:20 +02:00
odoo_gevent_port: 8072
odoo_ports: [ "{{ odoo_http_port }}", "{{ odoo_gevent_port }}" ]
2022-07-25 16:00:15 +02:00
odoo_workers: 4
odoo_email: "{{ system_admin_email | default('admin' + ansible_domain ) }}"
2023-03-22 17:00:10 +01:00
2023-07-20 14:00:26 +02:00
# If you turn enterprise on, you need to set the SSH key of the root account of the target system
# on your Github account, allowed to access the https://github.com/odoo/enterprise.git repo
# You should also accept the host key for example by running
# /bin/git ls-remote git@github.com:odoo/enterprise.git as the root user
odoo_enterprise: False
odoo_enterprise_git_url: git@github.com:odoo/enterprise.git