14 lines
254 B
YAML
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
|