Skip to content

Commit

Permalink
Tag code blocks with yaml syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
raneq authored Jul 10, 2019
1 parent 643102b commit 769834b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Available variables are listed below, along with default values:

This role supports installing Odoo following two different strategies: `git` (from a git repository) and `tar` (a package or compressed release file).

```
```yml
# Odoo releases download strategy: tar or git
odoo_role_download_strategy: tar

Expand All @@ -45,7 +45,7 @@ odoo_role_odoo_git_ref: "11.0"
* Users and group
```
```yml
odoo_role_odoo_user: odoo
odoo_role_odoo_group: odoo

Expand All @@ -55,7 +55,7 @@ odoo_role_odoo_venv_path: /opt/.odoo_venv
* Directories structure
```
```yml
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"
Expand All @@ -66,7 +66,7 @@ odoo_role_odoo_modules_path: /opt/odoo/modules
* Database
```
```yml
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
Expand All @@ -76,14 +76,14 @@ odoo_role_demo_data: false
* Core modules list to install/update
```
```yml
# Comma-separated list of modules to install before running the server
odoo_role_odoo_core_modules: "base"
```
* Community modules list to install/update
```
```yml
# Comma-separated list of modules to install before running the server
odoo_role_odoo_community_modules: ""
```
Expand Down Expand Up @@ -111,7 +111,7 @@ Once the modules are in the server, you need to install them in the database.

Define a `odoo_role_odoo_community_modules` var with the list of the modules names you want to install.

```
```yml
# invenotry/group_vars/all.yml
odoo_role_odoo_community_modules: 'contract,contract_sale_invoicing'
```
Expand Down

0 comments on commit 769834b

Please sign in to comment.