Print environment in pre playbook of legacy-base job

We construct an environment for legacy purposes. Let's print it for help
debugging things.

Change-Id: I042e481ebe541d7cbc69a29d4e38b3779d48a936
This commit is contained in:
Monty Taylor 2017-10-02 16:34:36 -05:00
parent a617311a88
commit 2aff9bc324
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594

View File

@ -56,3 +56,10 @@
regexp: '^ sudo .script_path/jenkins-sudo-grep.sh post'
line: ' sudo $script_path/zuul-sudo-grep.sh post'
become: true
- name: Show the environment passed in to job shell scripts
shell:
cmd: |
env
executable: /bin/bash
environment: '{{ zuul | zuul_legacy_vars }}'