diff --git a/tests/post.yml b/tests/post.yml index b742c06b30..19ccdc9a64 100644 --- a/tests/post.yml +++ b/tests/post.yml @@ -67,4 +67,15 @@ src: "{{ ansible_env.HOME }}/.ara/ansible.sqlite" dest: "{{ zuul.executor.log_root }}/{{ inventory_hostname }}/ara-report/" mode: pull + + - name: Generate HTML from ARA database + command: "ara generate html {{ ansible_env.HOME }}/ara-html" + environment: + ARA_DATABASE: "sqlite:///{{ ansible_env.HOME }}/.ara/ansible.sqlite" + + - name: Download ARA HTML + synchronize: + src: "{{ ansible_env.HOME }}/ara-html" + dest: "{{ zuul.executor.log_root }}/{{ inventory_hostname }}/ara-report/" + mode: pull when: ara_stat_result.stat.exists