fix: set changed_when to false for apt update command.

This commit is contained in:
2026-07-31 13:09:11 +02:00
parent 965ad5cde2
commit 5af310e55a
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -169,6 +169,7 @@
ansible.builtin.apt:
update_cache: true
cache_valid_time: "{{ 0 if common_apt_config_updated is defined and common_apt_config_updated.changed else apt_update_cache_valid_time }}"
changed_when: false
when: apt_update|bool
tags:
- apt-update