From 06a963ed383e7b62e3837b1b9076e3f4cb983a70 Mon Sep 17 00:00:00 2001 From: Viyurz Date: Sun, 17 Mar 2024 14:50:22 +0100 Subject: [PATCH] Synapse: Change PostgreSQL datadir chmod from 770 to 700. PostgreSQL datadir permissions are changed to 700 by the container. Set to 700 from the start to stop the task displaying "changed" everytime the synaspe role is run. --- roles/synapse/tasks/update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/synapse/tasks/update.yml b/roles/synapse/tasks/update.yml index d722781..5933275 100644 --- a/roles/synapse/tasks/update.yml +++ b/roles/synapse/tasks/update.yml @@ -42,7 +42,7 @@ state: directory owner: "{{ users['synapse_postgres'] + uid_shift }}" group: "{{ users['synapse_postgres'] + uid_shift }}" - mode: '770' + mode: '700' become: true - name: Pull project services