From b2befeb2b4830f57a3eaa17c3778c446ddc22a83 Mon Sep 17 00:00:00 2001
From: Monty Taylor <mordred@inaugust.com>
Date: Wed, 27 Sep 2017 16:36:59 -0500
Subject: [PATCH] Emit a message about the final tox invocation

In the tox job it's nice to see what it is that we're gonna run. It's in
the json file, but that's a little bit hidden.

Change-Id: Iebe4b4c67d00ebc21be9038e06f1ee09badb4eb1
---
 roles/tox/tasks/main.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/roles/tox/tasks/main.yaml b/roles/tox/tasks/main.yaml
index 6154c4a63..fe899037b 100644
--- a/roles/tox/tasks/main.yaml
+++ b/roles/tox/tasks/main.yaml
@@ -18,6 +18,10 @@
       UPPER_CONSTRAINTS_FILE: "{{ tox_constraints_file }}"
   when: not stat_results|skipped and stat_results.stat.exists
 
+- name: Emit tox command
+  debug:
+    msg: "Running tox: {{ tox_executable }} -e{{ tox_envlist }} {{ tox_extra_args }}"
+
 - name: Run tox
   args:
     chdir: "{{ zuul_work_dir }}"