mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-26 15:55:56 +02:00
Update to 2023-09-08 10:00
This commit is contained in:
@@ -16,6 +16,9 @@
|
||||
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: Install nginx configuration
|
||||
|
@@ -27,3 +27,13 @@
|
||||
- set_fact: odoo_db_pass={{ rand_pass }}
|
||||
when: odoo_db_pass is not defined
|
||||
tags: odoo
|
||||
|
||||
# Create a random pass for the DB Manager
|
||||
- block:
|
||||
- import_tasks: ../includes/get_rand_pass.yml
|
||||
vars:
|
||||
- pass_file: "{{ odoo_root_dir }}/meta/ansible_db_manager_pass"
|
||||
- set_fact: odoo_db_manager_pass={{ rand_pass }}
|
||||
when: odoo_db_manager_pass is not defined and odoo_db_manager
|
||||
tags: odoo
|
||||
|
||||
|
@@ -56,6 +56,16 @@
|
||||
- phonenumbers
|
||||
- python-jose
|
||||
- flanker
|
||||
- redis
|
||||
- pdfminer
|
||||
- dnsq
|
||||
tags: odoo
|
||||
|
||||
# This is needed as the first import from flanker needs to create files not writeable by the Odoo user
|
||||
# See https://github.com/Tecnativa/doodba/pull/487
|
||||
- name: Finish flanker install
|
||||
command: "{{ odoo_root_dir }}/venv/bin/python3 -c 'from flanker.addresslib import address'"
|
||||
changed_when: False
|
||||
tags: odoo
|
||||
|
||||
- name: Create the PostgreSQL role
|
||||
|
Reference in New Issue
Block a user