File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change 9
9
10
10
vars :
11
11
sql_files :
12
+ - { source: "pgbouncer_config/pgbouncer_auth_schema.sql", dest: "00-schema.sql" }
12
13
- { source: "stat_extension.sql", dest: "01-extension.sql" }
13
14
14
15
environment :
Original file line number Diff line number Diff line change 109
109
- " host all pgbouncer 127.0.0.1/32 scram-sha-256"
110
110
- " # Connection configuration for pgbouncer user"
111
111
112
- # Run PgBouncer SQL script
113
- - name : Transfer init SQL files
114
- copy :
115
- src : files/pgbouncer_config/pgbouncer_auth_schema.sql
116
- dest : /tmp/00-schema.sql
117
-
118
- - name : Execute init SQL files
119
- become : yes
120
- become_user : postgres
121
- shell :
122
- cmd : /usr/lib/postgresql/bin/psql -f /tmp/00-schema.sql
123
-
124
112
# Add fail2ban filter
125
113
- name : import jail.d/pgbouncer.conf
126
114
template :
You can’t perform that action at this time.
0 commit comments