Fix file permissions

This commit is contained in:
Sam A. 2024-01-07 19:36:02 +01:00
parent 4f55153783
commit e10edc362c
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA
2 changed files with 3 additions and 0 deletions

View file

@ -5,5 +5,6 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ apps_data_root }}/monerod/data/bitmonero" path: "{{ apps_data_root }}/monerod/data/bitmonero"
owner: '1000' owner: '1000'
group: '1000'
mode: u=rwx,g=rx,o=rx mode: u=rwx,g=rx,o=rx
state: directory state: directory

View file

@ -71,6 +71,7 @@
src: postgresql.conf.j2 src: postgresql.conf.j2
dest: "{{ postgresql_pgdata }}/postgresql.conf" dest: "{{ postgresql_pgdata }}/postgresql.conf"
owner: postgres owner: postgres
group: postgres
mode: u=rw,go= mode: u=rw,go=
notify: Reload PostgreSQL notify: Reload PostgreSQL
@ -79,6 +80,7 @@
src: pg_hba.conf.j2 src: pg_hba.conf.j2
dest: "{{ postgresql_pgdata }}/pg_hba.conf" dest: "{{ postgresql_pgdata }}/pg_hba.conf"
owner: postgres owner: postgres
group: postgres
mode: u=rw,go= mode: u=rw,go=
notify: Reload PostgreSQL notify: Reload PostgreSQL