-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from coopdevs/fix-directory-structure
Fix directory structure
- Loading branch information
Showing
16 changed files
with
59 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
An Odoo Ansible Provisioning Role | ||
========================================= | ||
|
||
This an ansible role for provisioning Odoo. It only has been tested with Odoo 10, but it's probably suitable for Odoo 10+ versions. | ||
|
||
Requirements | ||
------------ | ||
|
||
A PostgreSQL server compatible with Odoo. | ||
|
||
By now this role only supports peer authentication for postgreSQL database access. | ||
|
||
So you need to create a database in PostgreSQL, one user with access to that database, and one system user with same username. | ||
|
||
For instance, you can create an `odoo` user in PostgreSQL with access to the created database, and an user named `odoo` in your system. | ||
|
||
Role Variables | ||
-------------- | ||
Available variables are listed below, along with default values: | ||
|
||
odoo_default_user: odoo | ||
odoo_default_group: odoo | ||
|
||
odoo_venv_path: /opt/.odoo_venv | ||
|
||
odoo_version: 10.0 | ||
odoo_release: 20170914 | ||
|
||
odoo_path: /opt/odoo | ||
odoo_download_path: /tmp/odoo_{{ odoo_version }}.{{ odoo_release }}.tar.gz | ||
odoo_bin_path: "{{ odoo_path }}/build/scripts-2.7/odoo" | ||
odoo_python_path: "{{ odoo_venv_path }}/bin/python" | ||
odoo_config_path: /etc/odoo | ||
odoo_log_path: /var/log/odoo | ||
odoo_modules_path: /opt/odoo/modules | ||
|
||
Dependencies | ||
------------ | ||
|
||
This role is not depending on other roles (yet). | ||
|
||
Example Playbook | ||
---------------- | ||
|
||
- hosts: odooservers | ||
roles: | ||
- { role: odoo } | ||
|
||
License | ||
------- | ||
|
||
GPLv3 | ||
|
||
Author Information | ||
------------------ | ||
|
||
@ygneo | ||
http://coopdevs.org |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.