From 4f954e05195d63496fe14d6374e35a6ab4a2bc24 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 28 Oct 2019 20:07:43 +0100 Subject: [PATCH] remove iptables integration --- defaults/main.yml | 2 -- tasks/install.yml | 7 ------- 2 files changed, 9 deletions(-) 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