Render undercloud ara results

Generate HTML for undercloud or standalone ARA stats

Change-Id: I67495abab485105b45619e477204414421496b60
This commit is contained in:
Sagi Shnaidman 2019-12-18 22:42:13 +02:00
parent c76ac7dbd5
commit 1b8ed193fd

View File

@ -26,13 +26,14 @@
cp -r {{ local_working_dir }}/ara_oooq {{ artcl_collect_dir }}/; cp -r {{ local_working_dir }}/ara_oooq {{ artcl_collect_dir }}/;
ignore_errors: true ignore_errors: true
- name: Generate and retrieve root the ARA static playbook report - name: Generate and retrieve the ARA static playbook report for undercloud
become: true
shell: > shell: >
{{ local_working_dir }}/bin/ara generate html {{ local_working_dir }}/ara_oooq_root; {{ local_working_dir }}/bin/ara generate html {{ local_working_dir }}/ara_oooq_uc;
{{ local_working_dir }}/bin/ara task list --all -f json > {{ artcl_collect_dir }}/ara.oooq.root.json; {{ local_working_dir }}/bin/ara task list --all -f json > {{ artcl_collect_dir }}/ara.oooq.uc.json;
cp -r {{ local_working_dir }}/ara_oooq_root {{ artcl_collect_dir }}/; cp -r {{ local_working_dir }}/ara_oooq_uc {{ artcl_collect_dir }}/;
ignore_errors: true ignore_errors: true
environment:
ARA_DATABASE: 'sqlite:///{{ working_dir }}/ara_db.sql'
- name: Generate and retrieve the ARA static playbook report for OC deploy - name: Generate and retrieve the ARA static playbook report for OC deploy
become: true become: true