From d5e473304a38d98faafa0ecaa3a421934c6b7d60 Mon Sep 17 00:00:00 2001 From: Bastian de Byl Date: Sun, 29 Mar 2026 12:43:14 -0400 Subject: [PATCH] fix: use python_env as guard for ESP-IDF install task The tools directory can exist without the Python venv being created, causing install.sh to be skipped on re-runs. Check for python_env instead, which is the actual output we need. Co-Authored-By: Claude Opus 4.6 (1M context) --- ansible/roles/gitea-actions/tasks/esp-idf.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/gitea-actions/tasks/esp-idf.yml b/ansible/roles/gitea-actions/tasks/esp-idf.yml index 23b8726..dc64ecc 100644 --- a/ansible/roles/gitea-actions/tasks/esp-idf.yml +++ b/ansible/roles/gitea-actions/tasks/esp-idf.yml @@ -86,7 +86,7 @@ export IDF_TOOLS_PATH="{{ gitea_runner_home }}/.espressif" {{ esp_idf_path }}/install.sh esp32 args: - creates: "{{ gitea_runner_home }}/.espressif/tools" + creates: "{{ gitea_runner_home }}/.espressif/python_env" environment: HOME: "{{ gitea_runner_home }}" tags: gitea-actions