allow outgoing mqtt traffic
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2019-04-28 22:46:00 +02:00
parent 2d4a84a32a
commit b5b8ae5765

View File

@ -31,7 +31,9 @@
iptables_raw:
name: allow_mosquitto_port
state: present
rules: '-A INPUT -m state --state NEW -p tcp --dport {{ mosquitto_port }} -j ACCEPT'
rules:
- '-A OUTPUT -m state --state NEW -p tcp --dport {{ mosquitto_port }} -j ACCEPT'
- '-A INPUT -m state --state NEW -p tcp --dport {{ mosquitto_port }} -j ACCEPT'
when: mosquitto_iptables_enabled
become: True
become_user: root