remove iptables integration
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f42538856f
commit
263390f833
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user