ansible-roles/roles/odoo/defaults/main.yml

51 lines
1.7 KiB
YAML

---
# Version of Odoo to deploy (name of the branch of the git repo
odoo_version: 17.0
# URL of the repository
odoo_git_url: https://github.com/odoo/odoo.git
# Where will odoo be installed
odoo_root_dir: /opt/odoo
# User under which odoo will run (will be created if needed
odoo_user: odoo
# 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
# 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
# Database settings
odoo_db_server: "{{ pg_server | default('localhost') }}"
odoo_db_port: 5432
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
# This should be empty most of the time to access Odoo only from the nginx reverse proxy
odoo_src_ip: []
# Public URL of the odoo instance
# odoo_public_url: https://erp.domain.tld/
odoo_http_port: 8069
odoo_gevent_port: 8072
odoo_ports: [ "{{ odoo_http_port }}", "{{ odoo_gevent_port }}" ]
odoo_workers: 4
odoo_email: "{{ system_admin_email | default('admin' + ansible_domain ) }}"
# 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