firewall.yml 237 Bytes
Newer Older
Alexander Withers's avatar
Alexander Withers committed
1
2
3
4
5
6
7
8
---
- ufw: rule=allow from_ip=169.254.0.0/16 state=enabled
  tags: ufw
  when: (ansible_distribution == "Ubuntu")

- firewalld: source=169.254.0.0/16 permanent=true state=enabled immediate=yes
  when: (ansible_distribution == "CentOS")