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

This commit is contained in:
Robert Kaussow 2019-10-28 19:59:18 +01:00
parent 3a35cec863
commit 0d96724c94
2 changed files with 0 additions and 19 deletions

View File

@ -58,10 +58,3 @@ droneci_gitea_skip_verify: False
# @var droneci_no_proxy: $ ["drone-server", "drone-agent"]
droneci_no_proxy: []
droneci_iptables_enabled: False
droneci_open_ports:
- name: allow_droneci_web
rules: |
-A INPUT -m state --state NEW -p tcp --dport {{ droneci_server_exposed_port }} -j ACCEPT
state: present

View File

@ -26,17 +26,5 @@
dest: "{{ droneci_service_directory }}/{{ droneci_license_key | basename }}"
mode: 0600
when: droneci_license_key is defined
- 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: "{{ droneci_open_ports }}"
loop_control:
label: "{{ item.name }}"
when: droneci_iptables_enabled | bool
become: True
become_user: root