diff --git a/tasks/main.yml b/tasks/main.yml index 0ab060e..fbcd6c8 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -6,6 +6,8 @@ package: name: chrony state: present + update_cache: yes + cache_valid_time: "{{ '3600' if ansible_pkg_mgr == 'apt' else omit }}" become: true - import_tasks: config_chrony.yml