validate-host: skip linux nly tasks on windows machines

Change-Id: Iab4805ffc6391423d3a622705268f88fa66a5516
This commit is contained in:
Albin Vass 2020-08-12 09:10:05 +02:00
parent 7633994ed6
commit afbc17db0b
1 changed files with 3 additions and 1 deletions

View File

@ -38,4 +38,6 @@
dest: "{{ zuul_info_dir }}/zuul-info.{{ validate_host_hostname_sanitized }}.txt"
src: templates/zuul-info.j2
when: ansible_python_version is version('2.7', '>=')
when:
- ansible_os_family != "Windows"
- ansible_python_version is version('2.7', '>=')