Correct handling of inspect_nodes in test-bifrost.yaml

Currently we run inspection when inspect_nodes is false. WHY.

Change-Id: I0dfc97f5d8aaabbc8d5ba1f83ecc3397d66c8547
This commit is contained in:
Dmitry Tantsur 2020-07-24 15:10:14 +02:00
parent afd4c438a0
commit 92ec342ce1

View File

@ -73,9 +73,10 @@
connection: local
roles:
- role: ironic-enroll-dynamic
- { role: ironic-inspect-node, when: not inspect_nodes | default('false') | bool }
- role: ironic-inspect-node
when: inspect_nodes | default(false) | bool
- role: bifrost-test-inspection
when: not inspect_nodes | default('false') | bool
when: inspect_nodes | default(false) | bool
- hosts: localhost
name: "Tests the use of openstack clients"