8000 Put back creation of logs dir in setup-postgres · suryatmodulus/postgres@dd97850 · GitHub
[go: up one dir, main page]

Skip to content

Commit dd97850

Browse files
committed
Put back creation of logs dir in setup-postgres
- This is needed for the DB to run during the build
1 parent 4ffe3e3 commit dd97850

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ansible/tasks/setup-postgres.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,14 @@
103103
owner: postgres
104104
group: postgres
105105

106+
- name: Create logs dir
107+
become: yes
108+
file:
109+
path: /var/log/postgresql
110+
state: directory
111+
owner: postgres
112+
group: postgres
113+
106114
# Move Postgres configuration files into /etc/postgresql
107115
# Add postgresql.conf
108116
- name: import postgresql.conf

0 commit comments

Comments
 (0)
0