This is an example of how we could do the file splitting:
ansible-playbook ./ocp_usage_playbook.yml -vv --tags=collect
This is just a rough example that needs more clean up, but wanted to put the gist out there.
You will note that this short circuits most of the collect logic to show what would be done after the files are downloaded, but I wanted to make it something simple to run.
I placed two sample csv files from previous output int /tmp and referenced them in the list of csv files.
This is an example of how we could do the file splitting:
ansible-playbook ./ocp_usage_playbook.yml -vv --tags=collect
This is just a rough example that needs more clean up, but wanted to put the gist out there.
You will note that this short circuits most of the collect logic to show what would be done after the files are downloaded, but I wanted to make it something simple to run.
I placed two sample csv files from previous output int
/tmp
and referenced them in the list of csv files.69a5ae95-f66f-4149-874c-67041629a538_openshift_usage_report.0.txt 69a5ae95-f66f-4149-874c-67041629a538_openshift_usage_report.1.txt
You will need to swap the extension back to
.csv
Let me know what you think.