Produce separate named report files

Refactor role with tags for execute pre-run, run and
post-run phases.

Change-Id: I7daff63be56d2746a63e00d21aaa78078e60f60f
This commit is contained in:
Federico Ressi
2019-11-27 17:42:03 +01:00
parent 7c2f566804
commit 88cdecbc4f
21 changed files with 213 additions and 114 deletions

View File

@@ -14,9 +14,18 @@
---
- hosts: tempest
roles:
- role: tobiko
tags:
- tobiko-post-run
vars:
tobiko_pre_run: false
tobiko_run: false
tobiko_post_run: true
- hosts: tempest
become: true
roles:
- role: fetch-subunit-output
zuul_work_dir: '{{ devstack_base_dir }}/tobiko'
- role: process-stackviz

View File

@@ -29,18 +29,20 @@
become: yes
- name: Copy the build ssh key to authorized_keys on all hosts for stack
hosts: all
- hosts: all
roles:
- role: copy-build-sshkey
copy_sshkey_target_user: stack
- hosts: all
roles:
- multi-node-setup
- hosts: all
roles:
- orchestrate-devstack
- hosts: tempest
roles:
- role: tobiko
tags:
- tobiko-pre-run
vars:
tobiko_pre_run: true
tobiko_run: false
tobiko_post_run: false

View File

@@ -14,7 +14,10 @@
---
- name: Run Tobiko
hosts: tempest
- hosts: tempest
roles:
- role: tobiko
vars:
tobiko_pre_run: false
tobiko_run: true
tobiko_post_run: false