Odoo Apps role
Install Odoo apps from file or url.
Usage
Configure the role.
odoo_hostname: odoo01
odoo_data_dir: /usr/share/odoo # default: "/usr/share/{{ odoo_hostname }}"
odoo_apps_tmp_dir: /tmp # default: /var/tmp
odoo_apps_remove_unmanaged_folders: false # default: true
odoo_apps_base_url: https://cloud.example.com/download?files= # + {{ item.name }}-{{ item.version }}.zip
odoo_apps:
- name: show_db_name
file: show_db_name-16.0.1.0.2.zip
- name: sale_order_notes
version: 16.0.1.0.0
- name: sale_blanket_order_notes
version: 16.0.1.1.0
depends:
- sale_order_notes
odoo_pip_packages:
- name: python-jose
- name: mock==3.0.5
And include it in your playbook.
- hosts: odoo_apps
roles:
- role: odoo_apps
The following tags are available:
- odoo_apps
- odoo_pip_packages