manage_repositories/handlers/main.yml
Bertrand Lanson 234425179e
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
fix apt cache not updating
2023-09-14 23:05:04 +02:00

8 lines
194 B
YAML

---
# handlers file for manage_repositories
- name: "Update repositories caches"
ansible.builtin.apt:
update_cache: true
# cache_valid_time: 3600
listen: "debian-based-cache-update"