fix: set changed_when to false for apt update command.
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
if apt_config_updated is defined and apt_config_updated.changed
|
||||
else apt_update_cache_valid_time
|
||||
}}
|
||||
changed_when: false
|
||||
when:
|
||||
- ansible_facts['distribution'] == "Debian"
|
||||
- apt_update|bool
|
||||
|
||||
Reference in New Issue
Block a user