Made variable global with cacheable

This commit is contained in:
2025-10-03 09:13:16 +02:00
parent 37589596ab
commit ad53e1630f

View File

@@ -24,6 +24,12 @@
- (ansible_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
set_fact:
ansible_pull_marker_file: "{{ ansible_pull_marker_file }}"
cacheable: true
tags: always
- name: pre-run | update apt repository (debian, ubuntu, etc.) # noqa no-changed-when
apt: update_cache=yes
#changed_when: false