fix apt cache not updating
All checks were successful
test / Linting (push) Successful in 10s
test / Molecule tests (default, debian11) (push) Successful in 51s
test / Molecule tests (default, ubuntu2004) (push) Successful in 54s
test / Molecule tests (default, debian12) (push) Successful in 1m7s
test / Molecule tests (default, ubuntu2204) (push) Successful in 52s
test / Molecule tests (with_custom_repo, debian11) (push) Successful in 1m9s
test / Molecule tests (with_custom_repo, debian12) (push) Successful in 1m16s
test / Molecule tests (with_custom_repo, ubuntu2004) (push) Successful in 1m22s
test / Molecule tests (with_custom_repo, ubuntu2204) (push) Successful in 1m20s

This commit is contained in:
Bertrand Lanson 2023-09-14 23:05:04 +02:00
parent 47ae41fd32
commit 234425179e
2 changed files with 2 additions and 1 deletions

View File

@ -3,5 +3,5 @@
- name: "Update repositories caches"
ansible.builtin.apt:
update_cache: true
cache_valid_time: 3600
# cache_valid_time: 3600
listen: "debian-based-cache-update"

View File

@ -5,3 +5,4 @@
name: ednxzu.manage_apt_packages
vars:
manage_apt_packages_list: "{{ manage_repositories_required_packages }}"
manage_apt_packages_apt_cache_time: 0