From 61f7d9db86cb14f82fb2b50f06b119d3e7294b33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9sar=20L=C3=B3pez=20Ram=C3=ADrez?= Date: Wed, 20 Apr 2022 14:56:44 +0200 Subject: [PATCH] Fix loop when install pip development dependencies --- tasks/main.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index d63774c..68ee61b 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -305,13 +305,14 @@ become: true become_user: "{{ odoo_role_odoo_user }}" pip: - name: watchdog - with_items: - - name: pytest - - name: pytest-odoo - - name: coverage + name: "{{ item }}" virtualenv: "{{ odoo_role_odoo_venv_path }}" when: odoo_role_dev_mode | bool + with_items: + - pytest + - pytest-odoo + - coverage + - watchdog - import_tasks: add-service.yml when: not odoo_role_dev_mode | bool