mirror of
https://github.com/PyratLabs/ansible-role-k3s.git
synced 2024-10-31 08:28:54 +01:00
10 lines
190 B
YAML
10 lines
190 B
YAML
|
---
|
||
|
- name: Prepare
|
||
|
hosts: node*
|
||
|
become: true
|
||
|
tasks:
|
||
|
- name: Ensure apt cache is updated
|
||
|
ansible.builtin.apt:
|
||
|
update_cache: true
|
||
|
when: ansible_pkg_mgr == 'apt'
|