This commit is contained in:
parent
2d4a84a32a
commit
b5b8ae5765
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user