--- - name: iptables-packages | Manage the iptables packages block: - name: iptables-packages | Install the needed iptables packages ansible.builtin.apt: pkg: "{{ iptables_deb_pkgs }}" state: present cache_valid_time: 1800