From 92ec342ce1620ca500bf41de131044d771af1137 Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Fri, 24 Jul 2020 15:10:14 +0200 Subject: [PATCH] Correct handling of inspect_nodes in test-bifrost.yaml Currently we run inspection when inspect_nodes is false. WHY. Change-Id: I0dfc97f5d8aaabbc8d5ba1f83ecc3397d66c8547 --- playbooks/test-bifrost.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/playbooks/test-bifrost.yaml b/playbooks/test-bifrost.yaml index d648b47d6..2e4b0b109 100644 --- a/playbooks/test-bifrost.yaml +++ b/playbooks/test-bifrost.yaml @@ -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"