|
@@ -1,7 +1,7 @@
|
1
|
1
|
---
|
2
|
|
-# Installs and configures ufw, which in turn uses iptables for firewall management
|
|
2
|
+# Installs and configures ufw, which in turn uses iptables for firewall management.
|
|
3
|
+# ufw includes sensible ICMP defaults.
|
3
|
4
|
|
4
|
|
-# ufw includes sensible icmp defaults
|
5
|
5
|
- name: Install ufw
|
6
|
6
|
apt: pkg=ufw state=present
|
7
|
7
|
tags:
|
|
@@ -31,6 +31,3 @@
|
31
|
31
|
register: ufw_config
|
32
|
32
|
changed_when: False # never report as "changed"
|
33
|
33
|
|
34
|
|
-- name: Disable logging (workaround for known bug in Debian 7)
|
35
|
|
- ufw: logging=off
|
36
|
|
- when: "ansible_lsb['codename'] == 'wheezy' and 'LOGLEVEL=off' not in ufw_config.stdout"
|