Skip to content

Commit

Permalink
Merge pull request #35 from coopdevs/fix/README_format
Browse files Browse the repository at this point in the history
Fix format of README code
  • Loading branch information
danypr92 authored Feb 20, 2019
2 parents e24ee9c + 855c4d9 commit 962ddba
Showing 1 changed file with 41 additions and 28 deletions.
69 changes: 41 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,50 +22,63 @@ Available variables are listed below, along with default values:

This role allows to install Odoo in two editions: [Odoo Nightly](http://nightly.odoo.com/) and [OCA/OCB](https://github.com/OCA/OCB.git) edition.

# Vars for the Odoo Nightly edition
# odoo_role_odoo_edition: "odoo"
odoo_role_odoo_version: 11.0
odoo_role_odoo_release: 20170914
odoo_role_odoo_url: "https://nightly.odoo.com/{{ odoo_role_odoo_version }}/nightly/src/odoo_{{ odoo_role_odoo_version }}.{{ odoo_role_odoo_release }}.tar.gz"
odoo_role_odoo_download_path: /tmp/odoo_{{ odoo_role_odoo_version }}.{{ odoo_role_odoo_release }}.tar.gz

# Vars for the OCA/OCB edition
# odoo_role_odoo_edition: "oca"
odoo_role_odoo_git_url: "https://github.com/OCA/OCB.git"
# Use the commit SHA of the required version
odoo_role_odoo_head: "8ef3986d58a097a04502d9ca1ee0a860d7230723"
```
# Vars for the Odoo Nightly edition
# odoo_role_odoo_edition: "odoo"
odoo_role_odoo_version: 11.0
odoo_role_odoo_release: 20170914
odoo_role_odoo_url: "https://nightly.odoo.com/{{ odoo_role_odoo_version }}/nightly/src/odoo_{{ odoo_role_odoo_version }}.{{ odoo_role_odoo_release }}.tar.gz"
odoo_role_odoo_download_path: /tmp/odoo_{{ odoo_role_odoo_version }}.{{ odoo_role_odoo_release }}.tar.gz
# Vars for the OCA/OCB edition
# odoo_role_odoo_edition: "oca"
odoo_role_odoo_git_url: "https://github.com/OCA/OCB.git"
# Use the commit SHA of the required version
odoo_role_odoo_head: "8ef3986d58a097a04502d9ca1ee0a860d7230723"
```

* Users and group

odoo_role_odoo_user: odoo
odoo_role_odoo_group: odoo
```
odoo_role_odoo_user: odoo
odoo_role_odoo_group: odoo
odoo_role_odoo_venv_path: /opt/.odoo_venv
odoo_role_odoo_venv_path: /opt/.odoo_venv
```

* Directories structure

odoo_role_odoo_path: /opt/odoo
odoo_role_odoo_bin_path: "{{ odoo_role_odoo_path }}/build/scripts-2.7/odoo"
odoo_role_odoo_python_path: "{{ odoo_venv_path }}/bin/python"
odoo_role_odoo_config_path: /etc/odoo
odoo_role_odoo_log_path: /var/log/odoo
odoo_role_odoo_modules_path: /opt/odoo/modules
```
odoo_role_odoo_path: /opt/odoo
odoo_role_odoo_bin_path: "{{ odoo_role_odoo_path }}/build/scripts-2.7/odoo"
odoo_role_odoo_python_path: "{{ odoo_venv_path }}/bin/python"
odoo_role_odoo_config_path: /etc/odoo
odoo_role_odoo_log_path: /var/log/odoo
odoo_role_odoo_modules_path: /opt/odoo/modules
```

* Database

odoo_role_odoo_db_name: odoo
# This not a DB user password, but a password for Odoo to deal with DB.
odoo_role_odoo_db_admin_password: 1234
```
odoo_role_odoo_db_name: odoo
# This not a DB user password, but a password for Odoo to deal with DB.
odoo_role_odoo_db_admin_password: 1234
```

* Core modules list to install/update

# Comma-separated list of modules to install before running the server
odoo_role_odoo_core_modules: "base"
```
# Comma-separated list of modules to install before running the server
odoo_role_odoo_core_modules: "base"
```

* Community modules list to install/update

# Comma-separated list of modules to install before running the server
odoo_role_odoo_community_modules: ""
```
# Comma-separated list of modules to install before running the server
odoo_role_odoo_community_modules: ""
```

Community Roles
---------------
Expand Down

0 comments on commit 962ddba

Please sign in to comment.