Skip to content

Commit a222a72

Browse files
committed
local deploy fixes
1 parent 1cfcad8 commit a222a72

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy