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

45 lines
1.4 KiB
YAML

---
# Version of Odoo to deploy (name of the branch of the git repo
odoo_version: 16.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
# 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 enabled, db manager will be accessible
odoo_db_list: False
# 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