Pre-task ignored in docker/podman context

For CI to pass, it's better to always apt-get cache.
This commit is contained in:
Faustin Lammler 2020-11-04 12:16:13 +01:00
parent d124bf681e
commit 2cf069db27
No known key found for this signature in database
GPG Key ID: 390A2F27832A5C79
2 changed files with 1 additions and 4 deletions

View File

@ -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

View File

@ -5,6 +5,7 @@
- software-properties-common
- dirmngr
state: present
update_cache: true
when: mariadb_use_official_repo
- name: Install mariadb repository key