Исправлена ошибка с undefined variable 'rc' в create.yml

This commit is contained in:
Сергей Антропов
2025-10-26 00:14:38 +03:00
parent 3ee216c76e
commit 47b6114e1d

View File

@@ -100,7 +100,7 @@
- name: Display pull results
debug:
msg: "Pulled {{ item.item.name }}: {{ 'OK' if item.rc == 0 else 'SKIPPED (not available for this platform)' }}"
msg: "Pulled {{ item.item.name }}: {{ 'OK' if (item.rc is defined and item.rc == 0) else 'SKIPPED (not available for this platform)' }}"
loop: "{{ pull_result.results | default([]) }}"
loop_control:
label: "{{ item.item.name }}"