Skip to content

Commit 288a3e1

Browse files
authored
Merge pull request #163 from coopdevs/fix/deprecated_ansible
pip loop via Ansible' squash_actions is deprecated
2 parents 7a0b406 + eca48b8 commit 288a3e1

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

tasks/main.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -352,14 +352,13 @@
352352
become: true
353353
become_user: "{{ odoo_role_odoo_user }}"
354354
pip:
355-
name: "{{ item }}"
355+
name:
356+
- pytest
357+
- pytest-odoo
358+
- coverage
359+
- watchdog
356360
virtualenv: "{{ odoo_role_odoo_venv_path }}"
357361
when: odoo_role_dev_mode | bool
358-
with_items:
359-
- pytest
360-
- pytest-odoo
361-
- coverage
362-
- watchdog
363362

364363
- import_tasks: add-service.yml
365364
when: not odoo_role_dev_mode | bool

0 commit comments

Comments
 (0)