Update url for sova query source

Moving the source of sova queries as we are now generating sova queries from a single readable query file for both Elastic recheck and Sova.

Depends-On: https://review.opendev.org/c/openstack/tripleo-ci-health-queries/+/798958

Change-Id: I7a4cea605fe39fc086333d51cc75720c9b8243ad
This commit is contained in:
frenzyfriday 2021-04-22 09:56:46 +02:00 committed by Shnaidman Sagi (Sergey)
parent c9358e211b
commit 0f2adf2857
2 changed files with 13 additions and 2 deletions

View File

@ -1,13 +1,24 @@
---
- hosts: all
tasks:
- name: Ls {{ ansible_user_dir }}/workspace/logs/ # remove before merge
command: ls -la {{ ansible_user_dir }}/workspace/logs/
changed_when: false
register: test_output
- name: debug test # remove before merge
debug: var=test_output
- name: Ensure all files exists
stat:
path: "{{ ansible_user_dir }}/workspace/logs/failures_file"
path: "{{ item }}"
register: failures_file
loop:
- "{{ ansible_user_dir }}/workspace/logs/failures_file"
- "{{ ansible_user_dir }}/workspace/logs/_No_valid_host_was_found.log"
loop_control:
label: '{{ item.split("/")[-1] }}'
- name: Ensure all files exists - test
assert:

View File

@ -1,7 +1,7 @@
---
- name: Load sova patterns from URL
uri:
url: https://opendev.org/openstack/tripleo-ci-health-queries/raw/branch/master/output/sova-patterns.json
url: https://opendev.org/openstack/tripleo-ci-health-queries/raw/branch/master/output/sova-pattern-generated.json
method: GET
return_content: true
status_code: 200