Skip to content

Commit

Permalink
docs: update README with only-modules tag use info
Browse files Browse the repository at this point in the history
  • Loading branch information
oyale committed Apr 1, 2023
1 parent 3740e77 commit 9ea520a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,15 @@ environment_variables:

This option add a file in `/etc/default/odoo` with the vars and add to the Systemd service the `EnvironmentFile` attribute pointing to `/etc/default/odoo.

Role Tags
---------------
#### Using the `only-modules` Tag

This tag helps you install or update Odoo modules without performing a full setup. Run the playbook with the `--tags` option:

```bash
ansible-playbook playbook.yml --tags "only-modules"
```

Community Roles
---------------
Expand All @@ -242,7 +251,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
# inventory/group_vars/all.yml
odoo_role_odoo_community_modules: 'contract,contract_sale_invoicing'
```

Expand Down

0 comments on commit 9ea520a

Please # to comment.