|
18 | 18 | pg_destroy_and_init:true
|
19 | 19 | pg_datadir:~/postgrespro-data2
|
20 | 20 |
|
21 |
| - -role:postgres |
22 |
| -pg_port:5434 |
23 |
| -pg_repo:https://github.com/kelvich/postgresql.git |
24 |
| -pg_version_tag:xtm_patched |
25 |
| -pg_destroy_and_init:true |
26 |
| -pg_datadir:~/postgrespro-data3 |
27 |
| - |
28 | 21 | tasks:
|
29 | 22 |
|
30 | 23 | -name:clone dtm sources
|
|
54 | 47 | line:"shared_preload_libraries = 'pg_dtm'"
|
55 | 48 | state:present
|
56 | 49 |
|
57 |
| - -name:enable dtm extension on datanodes |
58 |
| -lineinfile: |
59 |
| -dest:"~/postgrespro-data3/postgresql.conf" |
60 |
| -regexp:"^shared_preload_libraries" |
61 |
| -line:"shared_preload_libraries = 'pg_dtm'" |
62 |
| -state:present |
63 |
| - |
64 | 50 | -name:restart postgrespro1
|
65 | 51 | command:"{{pg_dst}}/bin/pg_ctl restart -w -D ~/postgrespro-data -l ~/postgrespro-data/pg.log"
|
66 | 52 |
|
67 | 53 | -name:restart postgrespro2
|
68 |
| -command:"{{pg_dst}}/bin/pg_ctl restart -w -D ~/postgrespro-data2 -l ~/postgrespro-data/pg.log" |
69 |
| - |
70 |
| - -name:restart postgrespro3 |
71 |
| -command:"{{pg_dst}}/bin/pg_ctl restart -w -D ~/postgrespro-data3 -l ~/postgrespro-data/pg.log" |
| 54 | +command:"{{pg_dst}}/bin/pg_ctl restart -w -D ~/postgrespro-data2 -l ~/postgrespro-data2/pg.log" |
72 | 55 |
|