mirror of
https://github.com/PyratLabs/ansible-role-k3s.git
synced 2024-12-01 13:13:57 +01:00
11 lines
245 B
YAML
11 lines
245 B
YAML
---
|
|
- name: Prepare
|
|
hosts: all
|
|
tasks:
|
|
- name: Ensure apt cache is updated and iptables is installed
|
|
ansible.builtin.apt:
|
|
name: iptables
|
|
state: present
|
|
update_cache: true
|
|
when: ansible_pkg_mgr == 'apt'
|