mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 15:47:32 +02:00
Update to 2024-05-27 17:01
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
notify: restart odoo-server
|
||||
tags: odoo
|
||||
|
||||
- when: odoo_install_mode != 'none'
|
||||
- when: odoo_install_mode == 'install'
|
||||
block:
|
||||
- name: Install odoo
|
||||
command: "{{ odoo_root_dir }}/venv/bin/python3 {{ odoo_root_dir }}/app/setup.py install"
|
||||
@@ -16,9 +16,11 @@
|
||||
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 }}"
|
||||
|
||||
- name: Restore SELinux context
|
||||
command: restorecon -R {{ odoo_root_dir }}
|
||||
tags: odoo
|
||||
|
||||
- name: Restore SELinux context
|
||||
command: restorecon -R {{ odoo_root_dir }}
|
||||
when: odoo_install_mode != 'none'
|
||||
tags: odoo
|
||||
|
||||
- name: Install nginx configuration
|
||||
|
Reference in New Issue
Block a user