From a6142ec323cf30dca7d30cac77cb3e8cf073c5c4 Mon Sep 17 00:00:00 2001 From: Jordi Ballester Alomar Date: Thu, 21 Jun 2018 11:20:10 +0200 Subject: [PATCH] add option to force reinstall pip packages in pip install method --- tasks/install_pip.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/install_pip.yml b/tasks/install_pip.yml index 574dfa0..d190af7 100644 --- a/tasks/install_pip.yml +++ b/tasks/install_pip.yml @@ -38,7 +38,7 @@ become_user: "{{ odoo_user }}" pip: requirements: /home/{{ odoo_user }}/requirements.txt - extra_args: --upgrade + state: forcereinstall virtualenv: "{{ odoo_pip_venv_path }}" notify: Restart Odoo