switched to new facts-syntax
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user