Skip to content

Instantly share code, notes, and snippets.

@tgerla
Last active August 29, 2015 14:04
Show Gist options
  • Save tgerla/d6bda2295d2cea5e7af5 to your computer and use it in GitHub Desktop.
Save tgerla/d6bda2295d2cea5e7af5 to your computer and use it in GitHub Desktop.
---
- name: Configure UFW for baseline access
ufw: rule=allow
from_ip="{{ item.ip }}"
to_port="{{ item.port }}"
state=enabled
with_items:
- { ip: "10.0.0.0/8", port: "any" }
- { ip: "172.16.0.0/12", port: "any" }
- { ip: "192.168.0.0/16", port: "any" }
- { ip: bellevue_office_ip, port: "any" }
sudo: yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment