feat: use become for handler
All checks were successful
test / Linting (push) Successful in 10s
test / Molecule tests (default, debian12) (push) Successful in 47s
test / Molecule tests (default, debian11) (push) Successful in 50s
test / Molecule tests (default, ubuntu2004) (push) Successful in 58s
test / Molecule tests (default, ubuntu2204) (push) Successful in 51s
test / Molecule tests (with_custom_repo, debian11) (push) Successful in 53s
test / Molecule tests (with_custom_repo, debian12) (push) Successful in 55s
test / Molecule tests (with_custom_repo, ubuntu2004) (push) Successful in 57s
test / Molecule tests (with_custom_repo, ubuntu2204) (push) Successful in 1m24s

This commit is contained in:
Bertrand Lanson 2023-11-27 21:17:12 +01:00
parent 66ff9d0c20
commit b44ae4a612

View File

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