diff --git a/roles/validate-host/tasks/main.yaml b/roles/validate-host/tasks/main.yaml index a390e363a..9b17ff719 100644 --- a/roles/validate-host/tasks/main.yaml +++ b/roles/validate-host/tasks/main.yaml @@ -30,3 +30,9 @@ template: dest: "{{ zuul_info_dir }}/zuul-info.{{ inventory_hostname }}.txt" src: templates/zuul-info.j2 + +- name: Copy ansible inventory to logs dir + delegate_to: localhost + copy: + src: "{{ inventory_file }}" + dest: "{{ zuul_info_dir }}"