remove iptables integration
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4b90faea9c
commit
4f954e0519
@ -11,8 +11,6 @@ mosquitto_packages_extra: []
|
|||||||
mosquitto_persistence_enabled: False
|
mosquitto_persistence_enabled: False
|
||||||
mosquitto_persistence_path: /var/lib/mosquitto/mosquitto.db
|
mosquitto_persistence_path: /var/lib/mosquitto/mosquitto.db
|
||||||
|
|
||||||
mosquitto_iptables_enabled: False
|
|
||||||
|
|
||||||
mosquitto_password_auth_enabled: False
|
mosquitto_password_auth_enabled: False
|
||||||
mosquitto_password_auth_file: "{{ mosquitto_base_dir }}/passwd"
|
mosquitto_password_auth_file: "{{ mosquitto_base_dir }}/passwd"
|
||||||
mosquitto_password_auth_users: []
|
mosquitto_password_auth_users: []
|
||||||
|
@ -27,12 +27,5 @@
|
|||||||
group: root
|
group: root
|
||||||
mode: 0644
|
mode: 0644
|
||||||
notify: __mosquitto_restart
|
notify: __mosquitto_restart
|
||||||
|
|
||||||
- name: Open port in iptables
|
|
||||||
iptables_raw:
|
|
||||||
name: allow_mosquitto_port
|
|
||||||
state: present
|
|
||||||
rules: '-A INPUT -m state --state NEW -p tcp --dport {{ mosquitto_port }} -j ACCEPT'
|
|
||||||
when: mosquitto_iptables_enabled | bool
|
|
||||||
become: True
|
become: True
|
||||||
become_user: root
|
become_user: root
|
||||||
|
Loading…
Reference in New Issue
Block a user