Merge "Split logging of inventory to its own role"
This commit is contained in:
commit
6c22fc9431
3
roles/log-inventory/README.rst
Normal file
3
roles/log-inventory/README.rst
Normal 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.
|
5
roles/log-inventory/tasks/main.yaml
Normal file
5
roles/log-inventory/tasks/main.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
- name: Copy ansible inventory to logs dir
|
||||
delegate_to: localhost
|
||||
copy:
|
||||
src: "{{ inventory_file }}"
|
||||
dest: "{{ zuul_info_dir }}"
|
Loading…
Reference in New Issue
Block a user