diff --git a/roles/odoo/tasks/conf.yml b/roles/odoo/tasks/conf.yml index 340ccc6..b357fce 100644 --- a/roles/odoo/tasks/conf.yml +++ b/roles/odoo/tasks/conf.yml @@ -13,7 +13,7 @@ chdir: "{{ odoo_root_dir }}/app/" - name: Initialize the DB and update modules - command: "{{ odoo_root_dir }}/venv/bin/python3 {{ odoo_root_dir }}/app/setup/odoo -d {{ odoo_db_name }} -i base -u all --stop-after-init --syslog" + command: "{{ odoo_root_dir }}/venv/bin/python3 {{ odoo_root_dir }}/app/setup/odoo -c {{ odoo_root_dir }}/etc/odoo-server.conf -d {{ odoo_db_name }} -i base -u all --stop-after-init --syslog" become_user: "{{ odoo_user }}" tags: odoo