From 432a70fc4df1aa70b4bc35c26176e2e5f6da095c Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 28 Oct 2019 20:04:09 +0100 Subject: [PATCH] remove iptables integration --- defaults/main.yml | 12 ------------ tasks/install.yml | 12 ------------ 2 files changed, 24 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 90698e9..0cb68b2 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -38,15 +38,3 @@ jellyfin_http_bind_port: 8096 # DONT change it! Changing the bind ports is currently not supported. # @end jellyfin_https_bind_port: 8920 - -jellyfin_iptables_enabled: False -jellyfin_open_ports: - - name: allow_jellyfin_web - rules: | - -A INPUT -m state --state NEW -p tcp --dport {{ jellyfin_http_bind_port }} -j ACCEPT - state: present - # multicast (ssdp) will not really work with this, only workarount to prevent exception - - name: allow_jellyfin_multicast - rules: | - -A OUTPUT -m state --state NEW -p udp --destination 239.255.255.250 --dport 1900 -j ACCEPT - state: present diff --git a/tasks/install.yml b/tasks/install.yml index fbd21b2..ae2f424 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -67,17 +67,5 @@ loop_control: label: "{{ item.log }}" when: jellyfin_logrotate_enabled - - - name: Open ports in iptables - iptables_raw: - name: "{{ item.name }}" - rules: "{{ item.rules }}" - state: "{{ item.state | default('present') }}" - weight: "{{ item.weight | default(omit) }}" - table: "{{ item.table | default(omit) }}" - loop: "{{ jellyfin_open_ports }}" - loop_control: - label: "{{ item.name }}" - when: jellyfin_iptables_enabled become: True become_user: root