File tree Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Original file line number Diff line number Diff line change 4
4
group : ' postgres'
5
5
src : ' files/postgresql_config/postgresql-csvlog.conf'
6
6
7
- - name : UFW - Allow SSH/PostgreSQL/PgBouncer/HTTP/HTTPS connections
7
+ - name : UFW - Allow SSH connections
8
8
community.general.ufw :
9
- name : " {{ port_item }}"
9
+ name : ' OpenSSH'
10
+ rule : ' allow'
11
+
12
+ - name : UFW - Allow SSH/PostgreSQL connections
13
+ community.general.ufw :
14
+ port : ' 5432'
15
+ rule : ' allow'
16
+
17
+ - name : UFW - Allow PgBouncer connections
18
+ community.general.ufw :
19
+ port : ' 6543'
20
+ rule : ' allow'
21
+ tags :
22
+ - install-pgbouncer
23
+
24
+ - name : UFW - Allow HTTP/HTTPS connections
25
+ community.general.ufw :
26
+ port : " {{ port_item }}"
10
27
rule : ' allow'
11
28
loop :
12
- - ' OpenSSH'
13
- - ' 5432'
14
- - ' 6543'
15
29
- ' http'
16
30
- ' https'
17
31
loop_control :
18
32
loop_var : ' port_item'
33
+ tags :
34
+ - install-supabase-internal
19
35
20
36
- name : UFW - Deny all other incoming traffic by default
21
37
community.general.ufw :
You can’t perform that action at this time.
0 commit comments