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

This commit is contained in:
Robert Kaussow 2019-10-27 16:37:27 +01:00
parent f42538856f
commit 263390f833
2 changed files with 0 additions and 8 deletions

View File

@ -14,7 +14,6 @@ postgres_log_filename: postgresql.log
postgres_log_rotation_age: 1d
postgres_log_rotation_size: 0
postgres_iptables_enabled: False
postgres_connection_port: 5432
postgres_connection_addresses:
- localhost

View File

@ -29,12 +29,5 @@
loop_control:
label: "{{ item.address | default('samehost') }}:{{ item.databases | default(['all']) | join(',') }}:{{ item.users | default(['all']) | join(',') }}"
notify: __postgres_restart
- name: Open ports in iptables
iptables_raw:
name: allow_postgres_port
state: present
rules: '-A INPUT -m state --state NEW -p tcp --dport {{ postgres_connection_port }} -j ACCEPT'
when: postgres_iptables_enabled | bool
become: True
become_user: root