-
- Downloads
break postgres client ips into separate variables
we have to use rich rules in firewalld to restict a specific port to a list of specific ip addresses. when using rich rules, you have to specify the address family (ipv4 or ipv6) which we can't do in an automated fashion with the ipv4 and ipv6 addresses of the clients dynamically generated into a single variable. so this commit creates 2 variables; one for ipv4 clients and one for ipv6 clients which can be referred to as required when creating the rich rules.
Showing
- playbooks/apollo.yml 7 additions, 3 deletionsplaybooks/apollo.yml
- roles/postgres/defaults/main.yml 2 additions, 1 deletionroles/postgres/defaults/main.yml
- roles/postgres/tasks/main.yml 14 additions, 3 deletionsroles/postgres/tasks/main.yml
- roles/postgres/templates/pg_hba.conf.j2 8 additions, 1 deletionroles/postgres/templates/pg_hba.conf.j2
Please register or sign in to comment