ansible-role-k3s/molecule/default/prepare.yml

11 lines
245 B
YAML
Raw Permalink Normal View History

---
- name: Prepare
hosts: all
tasks:
- name: Ensure apt cache is updated and iptables is installed
ansible.builtin.apt:
name: iptables
state: present
2020-02-22 15:33:12 +01:00
update_cache: true
when: ansible_pkg_mgr == 'apt'