We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6baff5b commit 4ffe3e3Copy full SHA for 4ffe3e3
ansible/tasks/setup-postgres.yml
@@ -103,14 +103,6 @@
103
owner: postgres
104
group: postgres
105
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
-
114
# Move Postgres configuration files into /etc/postgresql
115
# Add postgresql.conf
116
- name: import postgresql.conf
scripts/91-log_cleanup.sh
@@ -8,4 +8,5 @@ rm -rf /var/log/*
8
touch /var/log/auth.log
9
10
touch /var/log/pgbouncer.log
11
-chown postgres:postgres /var/log/pgbouncer.log
+mkdir /var/log/postgresql
12
+chown postgres:postgres /var/log/pgbouncer.log /var/log/postgresql
0 commit comments