Skip to content
Snippets Groups Projects
Verified Commit c0043b4f authored by Chris Croome's avatar Chris Croome
Browse files

fix apt cache for ci

parent 1ade51a6
No related branches found
No related tags found
No related merge requests found
Pipeline #29905 passed
......@@ -41,6 +41,7 @@
pkg: "{{ apache_pkgs_absent }}"
state: absent
update_cache: true
cache_valid_time: 60
when:
- apache_pkgs_absent is defined
- apache_pkgs_absent != []
......@@ -56,6 +57,7 @@
install_recommends: true
default_release: buster-backports
update_cache: true
cache_valid_time: 60
when:
- apache_pkgs_present is defined
- ( "apache2" in apache_pkgs_present )
......@@ -67,7 +69,8 @@
pkg: "{{ apache_pkgs_present }}"
state: present
install_recommends: true
update_cache: false
update_cache: true
cache_valid_time: 60
when:
- apache_pkgs_present is defined
- apache_pkgs_present != []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment