remove iptables integration
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-10-28 20:04:09 +01:00
parent a87abc91a6
commit 432a70fc4d
2 changed files with 0 additions and 24 deletions

View File

@ -38,15 +38,3 @@ jellyfin_http_bind_port: 8096
# DONT change it! Changing the bind ports is currently not supported. # DONT change it! Changing the bind ports is currently not supported.
# @end # @end
jellyfin_https_bind_port: 8920 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

View File

@ -67,17 +67,5 @@
loop_control: loop_control:
label: "{{ item.log }}" label: "{{ item.log }}"
when: jellyfin_logrotate_enabled 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: True
become_user: root become_user: root