ansible-role-k3s/molecule/docker/prepare.yml
2020-10-17 16:31:04 +01:00

8 lines
157 B
YAML

---
- name: Prepare
hosts: all
tasks:
- name: Ensure apt cache is updated
apt:
update_cache: true
when: ansible_pkg_mgr == 'apt'