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:
parent
afd4c438a0
commit
92ec342ce1
@ -73,9 +73,10 @@
|
|||||||
connection: local
|
connection: local
|
||||||
roles:
|
roles:
|
||||||
- role: ironic-enroll-dynamic
|
- 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
|
- role: bifrost-test-inspection
|
||||||
when: not inspect_nodes | default('false') | bool
|
when: inspect_nodes | default(false) | bool
|
||||||
|
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
name: "Tests the use of openstack clients"
|
name: "Tests the use of openstack clients"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user