2020-05-15 22:22:26 +02:00
|
|
|
---
|
2020-07-11 13:29:24 +02:00
|
|
|
- name: Firewalld NOT installed
|
|
|
|
package:
|
|
|
|
name: "firewalld"
|
|
|
|
state: absent
|
|
|
|
|
2020-05-15 22:22:26 +02:00
|
|
|
- name: Iptables installed
|
|
|
|
package:
|
|
|
|
name: "iptables"
|
|
|
|
state: present
|
2020-07-11 12:13:33 +02:00
|
|
|
|
|
|
|
- name: iptables-persistent installed
|
|
|
|
package:
|
|
|
|
name: "iptables-persistent"
|
|
|
|
state: present
|
|
|
|
when: ansible_os_family == "Debian"
|
|
|
|
notify:
|
|
|
|
- persist iptables
|