diff --git a/defaults/main.yml b/defaults/main.yml index 25fac60..4fbb66d 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -11,8 +11,6 @@ mosquitto_packages_extra: [] mosquitto_persistence_enabled: False mosquitto_persistence_path: /var/lib/mosquitto/mosquitto.db -mosquitto_iptables_enabled: False - mosquitto_password_auth_enabled: False mosquitto_password_auth_file: "{{ mosquitto_base_dir }}/passwd" mosquitto_password_auth_users: [] diff --git a/tasks/install.yml b/tasks/install.yml index 869ec00..774d8ee 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -27,12 +27,5 @@ group: root mode: 0644 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_user: root