Merge "Assert ara database is loaded from ansible venv"
This commit is contained in:
commit
1596f3c8c8
|
@ -2,3 +2,14 @@
|
|||
tasks:
|
||||
- name: Run ara
|
||||
shell: ara --help
|
||||
|
||||
# NOTE(pabelanger): Validate zuul executor actually loaded ARA.
|
||||
- name: Check that the ARA database exists
|
||||
stat:
|
||||
path: "{{ zuul.executor.work_root }}/.ara/ansible.sqlite"
|
||||
register: ara_db
|
||||
|
||||
- name: Assert ansible.sqlite file
|
||||
assert:
|
||||
that:
|
||||
- ara_db.stat.exists
|
||||
|
|
Loading…
Reference in New Issue