diff --git a/local.yml b/local.yml index 0e9f4e6..0b8a6cf 100644 --- a/local.yml +++ b/local.yml @@ -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