Don't run zuul_debug_info_enabled under python2.6

This is because it is not python2.6 compatible, where supported
versions of ansible still allow for python2.6.

Change-Id: Ie1b3a30e1d6b5206ba81558a34937071a951ce15
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2019-04-08 08:51:01 -04:00
parent 325b666b6d
commit 27c5e8d641

View File

@ -19,6 +19,8 @@
dest: "{{ zuul_info_dir }}/host-info.{{ inventory_hostname }}.yaml"
src: templates/host-info.j2
- name: zuul_debug_info block
block:
- name: Collect information about zuul worker
zuul_debug_info:
image_manifest: "{{ zuul_site_image_manifest|default(omit) }}"
@ -31,3 +33,5 @@
template:
dest: "{{ zuul_info_dir }}/zuul-info.{{ inventory_hostname }}.txt"
src: templates/zuul-info.j2
when: ansible_python_version is version('2.7', '>=')