From c62e2a4027e767b6d5b3927cab1da75ca4dc2573 Mon Sep 17 00:00:00 2001 From: Jeremy Hettenhouser Date: Tue, 21 Mar 2023 19:39:40 -0400 Subject: [PATCH] Update delete_legacy_cron_entry.yml ignore_errors:true on the old version test. While the failure will not halt execution, it will color the summary output red for every host which executes the restic role even if most of them are set to use systemd Signed-off-by: Jeremy Hettenhouser --- tasks/delete_legacy_cron_entry.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/delete_legacy_cron_entry.yml b/tasks/delete_legacy_cron_entry.yml index 617f10c..e684cdb 100644 --- a/tasks/delete_legacy_cron_entry.yml +++ b/tasks/delete_legacy_cron_entry.yml @@ -6,6 +6,7 @@ fail_msg: "[ERROR] Youre ansible version is above 2.12.0" success_msg: "Congratulations. You are using ansible version {{ ansible_version.full }}" delegate_to: localhost + ignore_errors: true - name: (SCHEDULE) (OLD) try to remove entries from /etc/crontab become: true