add option to change cache time for reusing this role
Some checks failed
test / Linting (push) Successful in 9s
test / Molecule tests (default, debian11) (push) Successful in 36s
test / Molecule tests (default, debian12) (push) Successful in 37s
test / Molecule tests (default, ubuntu2004) (push) Successful in 46s
test / Molecule tests (with_custom_packages, debian11) (push) Failing after 31s
test / Molecule tests (default, ubuntu2204) (push) Successful in 42s
test / Molecule tests (with_custom_packages, debian12) (push) Failing after 32s
test / Molecule tests (with_custom_packages, ubuntu2204) (push) Failing after 32s
test / Molecule tests (with_custom_packages, ubuntu2004) (push) Failing after 50s
Some checks failed
test / Linting (push) Successful in 9s
test / Molecule tests (default, debian11) (push) Successful in 36s
test / Molecule tests (default, debian12) (push) Successful in 37s
test / Molecule tests (default, ubuntu2004) (push) Successful in 46s
test / Molecule tests (with_custom_packages, debian11) (push) Failing after 31s
test / Molecule tests (default, ubuntu2204) (push) Successful in 42s
test / Molecule tests (with_custom_packages, debian12) (push) Failing after 32s
test / Molecule tests (with_custom_packages, ubuntu2204) (push) Failing after 32s
test / Molecule tests (with_custom_packages, ubuntu2004) (push) Failing after 50s
This commit is contained in:
parent
9dc9c5a90b
commit
7e55608aa4
@ -3,7 +3,7 @@
|
|||||||
- name: "Update apt caches"
|
- name: "Update apt caches"
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
cache_valid_time: 3600
|
cache_valid_time: "{{ manage_apt_packages_apt_cache_time }}"
|
||||||
|
|
||||||
- name: "Install/remove required apt packages"
|
- name: "Install/remove required apt packages"
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
---
|
---
|
||||||
# vars file for manage_apt_packages
|
# vars file for manage_apt_packages
|
||||||
|
manage_apt_packages_apt_cache_time: 3600
|
||||||
|
Loading…
Reference in New Issue
Block a user