Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita222a72

Browse files
committed
local deploy fixes
1 parent1cfcad8 commita222a72

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

‎tests/deploy/roles/postgres/vars/main.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pg_config:
2222
-line:"fsync = off"
2323
-line:"autovacuum = off"
2424
-line:"listen_addresses = '*'"
25-
-line:"max_connections =2048"
25+
-line:"max_connections =512"
2626
-line:"max_prepared_transactions = 400"
2727
-line:"port = {{pg_port}}"
2828
pg_config_role:

‎tests/deploy/tsdm.yml‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,44 +29,44 @@
2929

3030
-name:clone dtm sources
3131
git:repo=https://github.com/kelvich/pg_tsdtm.git
32-
dest=./pg_tsdtm
32+
dest=./pg_tsdtm_test
3333
accept_hostkey=yes
3434
update=yes
3535
register:dtm_sources
3636

3737
-name:build dtm
3838
shell:"PG_CONFIG={{pg_dst}}/bin/pg_config make -j {{makejobs}} install"
3939
args:
40-
chdir:./pg_tsdtm
40+
chdir:./pg_tsdtm_test
4141
when:dtm_sources.changed
4242

4343
-name:enable dtm extension on datanodes
4444
lineinfile:
45-
dest:"postgrespro-data/postgresql.conf"
45+
dest:"~/postgrespro-data/postgresql.conf"
4646
regexp:"^shared_preload_libraries"
4747
line:"shared_preload_libraries = 'pg_dtm'"
4848
state:present
4949

5050
-name:enable dtm extension on datanodes
5151
lineinfile:
52-
dest:"postgrespro-data2/postgresql.conf"
52+
dest:"~/postgrespro-data2/postgresql.conf"
5353
regexp:"^shared_preload_libraries"
5454
line:"shared_preload_libraries = 'pg_dtm'"
5555
state:present
5656

5757
-name:enable dtm extension on datanodes
5858
lineinfile:
59-
dest:"postgrespro-data3/postgresql.conf"
59+
dest:"~/postgrespro-data3/postgresql.conf"
6060
regexp:"^shared_preload_libraries"
6161
line:"shared_preload_libraries = 'pg_dtm'"
6262
state:present
6363

6464
-name:restart postgrespro1
65-
command:"{{pg_dst}}/bin/pg_ctl restart -w -D./postgrespro-data -l./postgrespro-data/pg.log"
65+
command:"{{pg_dst}}/bin/pg_ctl restart -w -D~/postgrespro-data -l~/postgrespro-data/pg.log"
6666

6767
-name:restart postgrespro2
68-
command:"{{pg_dst}}/bin/pg_ctl restart -w -D./postgrespro-data2 -l./postgrespro-data/pg.log"
68+
command:"{{pg_dst}}/bin/pg_ctl restart -w -D~/postgrespro-data2 -l~/postgrespro-data/pg.log"
6969

7070
-name:restart postgrespro3
71-
command:"{{pg_dst}}/bin/pg_ctl restart -w -D./postgrespro-data3 -l./postgrespro-data/pg.log"
71+
command:"{{pg_dst}}/bin/pg_ctl restart -w -D~/postgrespro-data3 -l~/postgrespro-data/pg.log"
7272

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp