Merge "Split logging of inventory to its own role"

This commit is contained in:
Zuul 2018-05-07 19:37:06 +00:00 committed by Gerrit Code Review
commit 6c22fc9431
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,3 @@
Log the inventory used to run the job to the job's log dir.
This will result in the log collection roles logging the job inventory.

View File

@ -0,0 +1,5 @@
- name: Copy ansible inventory to logs dir
delegate_to: localhost
copy:
src: "{{ inventory_file }}"
dest: "{{ zuul_info_dir }}"