mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2024-11-14 17:30:18 +01:00
9 lines
173 B
YAML
9 lines
173 B
YAML
|
---
|
||
|
- name: Prepare
|
||
|
hosts: all
|
||
|
tasks:
|
||
|
- name: Ensure apt cache is updated
|
||
|
ansible.builtin.apt:
|
||
|
update_cache: true
|
||
|
when: ansible_pkg_mgr == 'apt'
|