Remove "fetch_journal_log" role as it's not needed

We don't need to run that ansible role in the functional and fullstack
jobs as devstack already stores archive with journal log from the test
node.
It is available in the "devstack.journal.gz" file in logs.

Change-Id: Id527e7b5240240f5299a6f163bc124002c64fa18
This commit is contained in:
Slawek Kaplonski 2022-09-05 12:56:30 +02:00
parent 6db791ac0f
commit 58f80b4ec7
4 changed files with 0 additions and 41 deletions

View File

@ -1,5 +1,4 @@
- hosts: all
roles:
- fetch_journal_log
- fetch-tox-output
- fetch-subunit-output

View File

@ -1,16 +0,0 @@
Collect journal log from test run
By default, this stores journal log into log file and store it in
"journal_log_file_path"
**Role Variables**
.. zuul:rolevar:: journal_log_path
:default: {{ ansible_user_dir }}/workspace/logs
Path where journal log file will be stored on job's node.
.. zuul:rolevar:: journal_log_file_name
:default: {{ journal_log_path }}/journal.log
Name of journal log file.

View File

@ -1,2 +0,0 @@
journal_log_path: "{{ ansible_user_dir }}/logs"
journal_log_file_name: "{{ journal_log_path }}/journal.log"

View File

@ -1,22 +0,0 @@
- name: Ensure {{ journal_log_path }} exists
become: yes
file:
path: "{{ journal_log_path }}"
state: directory
owner: "{{ ansible_user }}"
group: "{{ ansible_user }}"
mode: 0775
- name: Store journal logs in {{ journal_log_file_name }}
become: yes
shell:
cmd: |
/bin/journalctl -a > {{ journal_log_file_name }}
- name: Set journal.log file permissions
become: yes
file:
path: '{{ journal_log_file_name }}'
owner: '{{ ansible_user }}'
group: '{{ ansible_user }}'
mode: 0644