default-node-count will now consider active nodes
Resolves: rhbz#2242088
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I59fe85b7edd73eb81de9f8d0bb7cced0fd470f8c
(cherry picked from commit 10b1ae4a80
)
This commit is contained in:
parent
e427f2e9ac
commit
f9c1526235
|
@ -18,7 +18,7 @@
|
|||
|
||||
- name: Get active node count
|
||||
set_fact:
|
||||
active_nodes: "{{ baremetal_nodes_details | community.general.json_query('[?provision_state==`available`]') | count() }}"
|
||||
active_nodes: "{{ baremetal_nodes_details | community.general.json_query('[?provision_state==`active`]') | count() }}"
|
||||
|
||||
- name: Get associated node count
|
||||
set_fact:
|
||||
|
|
Loading…
Reference in New Issue