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 <jhettenh@gmail.com>
This commit is contained in:
Jeremy Hettenhouser 2023-03-21 19:39:40 -04:00 committed by GitHub
parent e825ef2e29
commit c62e2a4027
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,7 @@
fail_msg: "[ERROR] Youre ansible version is above 2.12.0" fail_msg: "[ERROR] Youre ansible version is above 2.12.0"
success_msg: "Congratulations. You are using ansible version {{ ansible_version.full }}" success_msg: "Congratulations. You are using ansible version {{ ansible_version.full }}"
delegate_to: localhost delegate_to: localhost
ignore_errors: true
- name: (SCHEDULE) (OLD) try to remove entries from /etc/crontab - name: (SCHEDULE) (OLD) try to remove entries from /etc/crontab
become: true become: true