From 855c4d97429c7d297dd1aa064e02f23dfbd58f5f Mon Sep 17 00:00:00 2001 From: Daniel Palomar Date: Mon, 18 Feb 2019 20:10:55 +0100 Subject: [PATCH] Fix format of README code --- README.md | 69 +++++++++++++++++++++++++++++++++---------------------- 1 file changed, 41 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index ce6feed..5876f3c 100644 --- a/README.md +++ b/README.md @@ -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 ---------------