[PATCH 02/10] milvus: fix YAML syntax error in benchmark_setup.yml
Daniel Gomez <[email protected]>
| Newsgroups | dev.linux.lists.kdevops |
|---|---|
| Message-ID | <[email protected]> |
From: Daniel Gomez <[email protected]> Fix incorrect indentation and duplicate changed_when directive that was causing ansible-lint to fail with "mapping values are not allowed here" error. The changed_when directive was incorrectly nested under the ansible.builtin.command module instead of being at the task level, and appeared twice in the same task. Fixes: 22c8182a ("ai: add Milvus vector database benchmarking support") Generated-by: Claude AI Signed-off-by: Daniel Gomez <[email protected]> --- playbooks/roles/milvus/tasks/benchmark_setup.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/playbooks/roles/milvus/tasks/benchmark_setup.yml b/playbooks/roles/milvus/tasks/benchmark_setup.yml index 68ce18e4..8eb7ce4c 100644 --- a/playbooks/roles/milvus/tasks/benchmark_setup.yml +++ b/playbooks/roles/milvus/tasks/benchmark_setup.yml @@ -14,7 +14,6 @@ - name: Check if pymilvus is installed ansible.builtin.command: python3 -c "import pymilvus; print(pymilvus.__version__)" - changed_when: false register: pymilvus_check changed_when: false failed_when: false -- 2.50.1