[tests] Improve devstack/post playbook efficiency

By adjusting the syntax to the newer format, the fetch-subunit
role will be skipped entirely, rather than run with all its
tasks skipped. This gives us results sooner and burns less
electricity, making the world a better place. :)

Change-Id: I6ae5a63051d512eecb2a603af9d74ec139eb0877
This commit is contained in:
Jesse Pretorius (odyssey4me) 2020-03-25 20:06:51 +00:00
parent ad170452b3
commit 6535d6eafa
1 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,9 @@
- hosts: all
roles:
- fetch-tox-output
- role: fetch-subunit-output
tasks:
- include_role:
name: fetch-tox-output
- include_role:
name: fetch-subunit-output
when: fetch_subunit|default(true)|bool
- process-stackviz
- include_role:
name: process-stackviz