Merge "Copy inventory as part of validate host"

This commit is contained in:
Zuul 2017-08-20 14:03:20 +00:00 committed by Gerrit Code Review
commit ce51ea6115

View File

@ -30,3 +30,9 @@
template: template:
dest: "{{ zuul_info_dir }}/zuul-info.{{ inventory_hostname }}.txt" dest: "{{ zuul_info_dir }}/zuul-info.{{ inventory_hostname }}.txt"
src: templates/zuul-info.j2 src: templates/zuul-info.j2
- name: Copy ansible inventory to logs dir
delegate_to: localhost
copy:
src: "{{ inventory_file }}"
dest: "{{ zuul_info_dir }}"