Created
April 11, 2017 17:09
-
-
Save extantpedant/eeb9384ef849ca2f944e88e4eb770152 to your computer and use it in GitHub Desktop.
rabbitmq firewall ansible
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Deny everything and enable UFW | |
- ufw: | |
state: enabled | |
policy: deny | |
# default logging | |
- ufw: | |
logging: off | |
#ssh | |
- ufw: | |
rule: allow | |
port: ssh | |
proto: tcp | |
#rabbitmq | |
- ufw: | |
rule: allow | |
port: 5672 | |
proto: tcp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment