[PATCH 07/10] playbooks: ansible-lint fix key-order

Daniel Gomez <[email protected]>
Newsgroups dev.linux.lists.kdevops
Message-ID <[email protected]>
From: Daniel Gomez <[email protected]>

Generated-by: Claude AI
Signed-off-by: Daniel Gomez <[email protected]>
---
 playbooks/roles/milvus/tasks/benchmark.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/playbooks/roles/milvus/tasks/benchmark.yml b/playbooks/roles/milvus/tasks/benchmark.yml
index ce999a8d..af53328c 100644
--- a/playbooks/roles/milvus/tasks/benchmark.yml
+++ b/playbooks/roles/milvus/tasks/benchmark.yml
@@ -31,6 +31,7 @@
   when: not milvus_is_available
 
 - name: Run benchmark tasks only if Milvus is available
+  when: milvus_is_available
   block:
     - name: Create benchmark results directory
       ansible.builtin.file:
@@ -58,4 +59,3 @@
       when:
         - ai_vector_db_milvus_benchmark_enable|bool
         - benchmark_result is defined
-  when: milvus_is_available

-- 
2.50.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.