switched to new facts-syntax

This commit is contained in:
2026-01-12 13:58:58 +01:00
parent 9fd07d57a4
commit 24f5e5b221
6 changed files with 14 additions and 14 deletions

View File

@@ -21,7 +21,7 @@
ansible.builtin.meta: end_play
when:
- marker_file_stat.stat.exists
- (ansible_date_time.epoch | int) - (marker_file_stat.stat.mtime | int) < (ansible_reboot_cooldown_minutes | int * 60)
- (ansible_facts['date_time']['epoch'] | int) - (marker_file_stat.stat.mtime | int) < (ansible_reboot_cooldown_minutes | int * 60)
tags: always
- name: pre-run | set marker file path as a cached fact