ansible-role-k3s/molecule/default/prepare.yml
2020-02-22 14:33:12 +00:00

9 lines
157 B
YAML

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