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.
This commit is contained in:
Viyurz 2024-03-17 14:50:22 +01:00
parent 542d4ad5f3
commit 06a963ed38
Signed by: Viyurz
SSH key fingerprint: SHA256:IskOHTmhHSJIvAt04N6aaxd5SZCVWW1Guf9tEcxIMj8

View file

@ -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