coverage: Pick the latest coverage report from the current project

In Ansible, `get_url`, when invoked like this code did, won't keep
overwriting the target file. This means that when the job runs in a
queue with a long history of artifacts, the oldest one wins instead of
the newest one.

I don't think I could filter-first index-later when using Ansible's
`when` construct, so switch to JSON queries.

While I'm at this, I really want to see some debug info, so let's add a
`debug` in there -- and that requires splitting out into an extra task
as far as I "know" Ansible.

Change-Id: I3b53d062dae5b746c9847ddf85fd749f72387df4
diff --git a/roles/pycobertura-diff/tasks/download.yaml b/roles/pycobertura-diff/tasks/download.yaml
new file mode 100644
index 0000000..f5b2d45
--- /dev/null
+++ b/roles/pycobertura-diff/tasks/download.yaml
@@ -0,0 +1,8 @@
+- name: Show artifact info
+  debug:
+    msg: "Artifact: {{ artifact.change }},{{ artifact.patchset }} {{ artifact.job }} -> {{ artifact.url }}"
+
+- name: Download one artifact
+  get_url:
+    url: "{{ artifact.url }}"
+    dest: "{{ new_source_prefix }}/coverage.xml"