locp.odoo

Role Name

Ansible role for installing Odoo Community.

Requirements

This role helps install and set up the Odoo Community edition. You can install Odoo 9 and 10 on CentOS 7, but Odoo 11 needs a newer Python version that’s not available on CentOS. If you want to stick with the RedHat family, use Fedora 26 instead.

Role Variables

Variable Name Default Value Description
odoo_config_file '/etc/odoo/odoo.conf' Full path to the configuration file.
odoo_enable_odoo9_repo false Set to true to configure the Odoo 9 repository.
odoo_enable_odoo10_repo false Set to true to configure the Odoo 10 repository.
odoo_enable_odoo11_repo false Set to true to configure the Odoo 11 repository.
odoo_install_wkhtmltopdf false Set to true to install Wkhtmltopdf.
odoo_package_name odoo Name of the Odoo package (you can include the version number). For Odoo 9, change it to /etc/odoo/openerp-server.conf.

Example Playbook

Configure these variables:

---
odoo_enable_odoo10_repo: true
odoo_install_wkhtmltopdf: true
odoo_settings:
  admin_passwd: XXX_TOP_SECRET_XXX
  db_host: False
  db_port: False
  db_user: odoo
  db_password: False

Then include something like this in your playbook:

---
- name: Test playbook for the ofbiz role.
  hosts: odoo10
  roles:
    - locp-odoo

License

GPLv3

Author Information

Created by the League of Crafty Programmers Ltd.

For issues or contributions, please visit https://github.com/locp/ansible-role-odoo.

Informazioni sul progetto

Ansible role to install Odoo Community.

Installa
ansible-galaxy install locp.odoo
Licenza
gpl-3.0
Download
402