Skip to content

Commit

Permalink
Merge pull request #10 from coopdevs/fix-directory-structure
Browse files Browse the repository at this point in the history
Fix directory structure
  • Loading branch information
enricostano authored Apr 23, 2018
2 parents f6b0827 + 51579c5 commit 491597f
Show file tree
Hide file tree
Showing 16 changed files with 59 additions and 78 deletions.
1 change: 0 additions & 1 deletion README.md

This file was deleted.

58 changes: 58 additions & 0 deletions README.md
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.
2 changes: 1 addition & 1 deletion odoo/meta/main.yml → meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ galaxy_info:
description: Odoo 10+ provisioning role
company: coopdevs

license: GPVLv3
license: GPLv3

min_ansible_version: 1.2

Expand Down
18 changes: 0 additions & 18 deletions odoo/.travis.yml

This file was deleted.

58 changes: 0 additions & 58 deletions odoo/README.md

This file was deleted.

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.

0 comments on commit 491597f

Please sign in to comment.