Browse Source

Remove wheezy-specific ufw task.

Alex Payne 9 years ago
parent
commit
6906412f63
1 changed files with 2 additions and 5 deletions
  1. 2
    5
      roles/common/tasks/ufw.yml

+ 2
- 5
roles/common/tasks/ufw.yml View File

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
 - name: Install ufw
5
 - name: Install ufw
6
   apt: pkg=ufw state=present
6
   apt: pkg=ufw state=present
7
   tags:
7
   tags:
31
   register: ufw_config
31
   register: ufw_config
32
   changed_when: False  # never report as "changed"
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"

Loading…
Cancel
Save