projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0a8f09
)
Missing commands in postgres 10 template.
author
Guo Xiang Tan
<tgx_world@hotmail.com>
Tue, 3 Apr 2018 03:26:37 +0000
(11:26 +0800)
committer
Guo Xiang Tan
<tgx_world@hotmail.com>
Tue, 3 Apr 2018 03:26:37 +0000
(11:26 +0800)
templates/postgres.10.template.yml
patch
|
blob
|
blame
|
history
diff --git
a/templates/postgres.10.template.yml
b/templates/postgres.10.template.yml
index 9f3042921a64b08c60d581ea273a037f62bb7805..d756309e8adf6e9f10285904199b9d405e8ab938 100644
(file)
--- a/
templates/postgres.10.template.yml
+++ b/
templates/postgres.10.template.yml
@@
-129,6
+129,9
@@
run:
- chown -R postgres:postgres /shared/postgres_data
- chown -R postgres:postgres /var/run/postgresql
+ - exec: /root/upgrade_postgres
+ - exec: rm /root/upgrade_postgres
+
- replace:
filename: "/etc/postgresql/10/main/postgresql.conf"
from: "data_directory = '/var/lib/postgresql/10/main'"