From c54bf6993c0c47f038fc6d3be3bdc1d1165528e2 Mon Sep 17 00:00:00 2001 From: Sergei Poljanski Date: Fri, 13 Nov 2026 07:33:37 +0400 Subject: [PATCH] crawler_alert: let the dry run pass with a new timer The pipeline's check-mode pass doesn't write the new unit files, so enabling crawler-metrics.timer failed there and stopped the apply. Assisted-by: Claude:opus-5-5 --- ansible/roles/crawler_alert/tasks/main.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/roles/crawler_alert/tasks/main.yaml b/ansible/roles/crawler_alert/tasks/main.yaml index ab33a22..590d871 100644 --- a/ansible/roles/crawler_alert/tasks/main.yaml +++ b/ansible/roles/crawler_alert/tasks/main.yaml @@ -38,3 +38,5 @@ - crawler-alert.timer - crawler-weekly.timer - crawler-metrics.timer + # A dry run installs no new unit files, so a new timer can't be found yet + ignore_errors: "{{ ansible_check_mode }}"