coverage: adapt for root-less containers
There's no sudo, so Ansible's `become` just fails. I'm doing this in an
extra commit so that it's obvious what is upstreamable and what has to
be patched locally due to our funny VM/container setup.
Change-Id: I89b4f59eb9d2612166711f1609637b00fca39cbf
diff --git a/roles/ensure-pycobertura/tasks/main.yaml b/roles/ensure-pycobertura/tasks/main.yaml
index ab309bd..473d543 100644
--- a/roles/ensure-pycobertura/tasks/main.yaml
+++ b/roles/ensure-pycobertura/tasks/main.yaml
@@ -1,4 +1,4 @@
- name: Ensure pycobertura is available
pip:
name: pycobertura
- become: yes
+ extra_args: --user