File tree Expand file tree Collapse file tree 2 files changed +5
-11
lines changed
contrib/pg_tsdtm/tests/deploy Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Original file line number Diff line number Diff line change 8
8
pg_destroy_and_init : true
9
9
10
10
tasks :
11
- - name : clone dtm sources
12
- git : repo=https://github.com/postgrespro/pg_tsdtm.git
13
- dest={{pg_prefix}}/pg_dtm
14
- accept_hostkey=yes
15
- update=yes
16
- force=yes
17
- register : dtm_sources
18
-
19
- - name : build dtm
11
+ - name : build tsdtm
20
12
shell : " make clean && make -j {{makejobs}} install"
21
13
args :
22
- chdir : " {{pg_prefix }}/pg_dtm "
14
+ chdir : " {{pg_src }}/contrib/pg_tsdtm "
23
15
environment :
24
16
PG_CONFIG : " {{pg_dst}}/bin/pg_config"
25
- when : dtm_sources.changed
26
17
27
18
- name : enable dtm extension on datanodes
28
19
lineinfile :
Original file line number Diff line number Diff line change 42
42
43
43
# ############################################################################
44
44
45
+ - name : stop postgres if it was running
46
+ shell : " pkill -9 postgres || true"
47
+
45
48
- name : clone postgres sources
46
49
git : repo={{pg_repo}}
47
50
dest={{pg_src}}
You can’t perform that action at this time.
0 commit comments