Merge "Fix infrared plugin default test_host execution"

This commit is contained in:
Zuul 2020-04-24 11:51:26 +00:00 committed by Gerrit Code Review
commit 5245476b0e
1 changed files with 6 additions and 4 deletions

View File

@ -9,9 +9,10 @@
- test_host is not defined
- item in hostvars
loop:
- "undercloud-0"
- "tempest"
- "primary"
- undercloud-0
- tempest
- tester
- primary
- name: "ensure '{{ tobiko_src_dir }}' directory exists"
file:
@ -42,7 +43,8 @@
state: link
- hosts: '{{ test_host | default("localhost") }}'
- hosts:
'{{ test_host | default(hostvars.localhost.test_host) | default("localhost") }}'
gather_facts: yes
tasks:
- include_role: name=tobiko-all