Pre-task ignored in docker/podman context
For CI to pass, it's better to always apt-get cache.
This commit is contained in:
parent
d124bf681e
commit
2cf069db27
|
|
@ -6,9 +6,5 @@
|
|||
ansible_python_interpreter: /usr/bin/python3
|
||||
vars_files: testvars.yml
|
||||
|
||||
pre_tasks:
|
||||
- name: Update apt cache
|
||||
apt: update_cache=true cache_valid_time=600
|
||||
|
||||
roles:
|
||||
- role: ansible-role-mariadb
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
- software-properties-common
|
||||
- dirmngr
|
||||
state: present
|
||||
update_cache: true
|
||||
when: mariadb_use_official_repo
|
||||
|
||||
- name: Install mariadb repository key
|
||||
|
|
|
|||
Loading…
Reference in New Issue