We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18c3f79 commit f3cd09dCopy full SHA for f3cd09d
ansible/tasks/setup-wal-g.yml
@@ -86,15 +86,15 @@
86
state: directory
87
owner: wal-g
88
group: wal-g
89
- mode: '0760'
+ mode: '0770'
90
91
- name: Create /etc/wal-g/config.json
92
file:
93
path: /etc/wal-g/config.json
94
state: touch
95
96
97
+ mode: '0664'
98
99
- name: Move custom wal-g.conf file to /etc/postgresql-custom/wal-g.conf
100
template:
scripts/91-log_cleanup.sh
@@ -16,5 +16,5 @@ chown postgres:postgres /var/log/postgresql
16
mkdir /var/log/wal-g
17
cd /var/log/wal-g
18
touch backup-push.log backup-fetch.log wal-push.log wal-fetch.log
19
-chown -R wal-g:wal-g /var/log/wal-g
20
-chmod -R 0700 /var/log/wal-g
+chown -R postgres:postgres /var/log/wal-g
+chmod -R 0300 /var/log/wal-g
0 commit comments