ansible-base/roles/client_iptables/tasks/package.yml

14 lines
254 B
YAML

---
- name: Iptables installed
package:
name: "iptables"
state: present
- name: iptables-persistent installed
package:
name: "iptables-persistent"
state: present
when: ansible_os_family == "Debian"
notify:
- persist iptables