Set changed_when to false for apt update command
This commit is contained in:
1 parent
42f6ff8de8
commit
76395661b1
7 files changed
+7
No files matched your search
@@ -160,6 +160,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
|
||||
|
||||
Reference in new issue
Block a user