Add support for ARA
ARA is a helpful tool to visualize previous runs of ansible. By enabling it and adding it into the logs/ara-report folder, we get to see the results hosted on logs.o.o. Change-Id: I8bda0b94228821dc23fe63bc0c9eedc7d4bd9a0e Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
528643c0ad
commit
d83d4ff315
|
@ -1,4 +1,5 @@
|
|||
hacking<0.11,>=0.10
|
||||
ansible-lint
|
||||
ara
|
||||
bashate
|
||||
sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3
|
||||
|
|
|
@ -5,6 +5,14 @@
|
|||
chdir: "{{ zuul.project.src_dir }}"
|
||||
shell: tox -evenv -- ansible-playbook -i inventory/testing/hosts tests/collect-logs.yaml
|
||||
|
||||
- name: Ensure ara-report directory exists
|
||||
file:
|
||||
path: ~/logs/ara-report
|
||||
state: directory
|
||||
|
||||
- name: Copy ARA database to ara-report directory
|
||||
shell: cp ~/.ara/ansible.sqlite ~/logs/ara-report
|
||||
|
||||
- name: Collect log files
|
||||
synchronize:
|
||||
dest: "{{ zuul.executor.log_root }}"
|
||||
|
|
Loading…
Reference in New Issue