fix: various permissions
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
owner: postgres
|
owner: postgres
|
||||||
group: postgres
|
group: postgres
|
||||||
state: directory
|
state: directory
|
||||||
mode: 0755
|
mode: 0700
|
||||||
|
|
||||||
- name: Populate postgresql directory
|
- name: Populate postgresql directory
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: files/pg_hba.conf
|
src: files/pg_hba.conf
|
||||||
dest: "/etc/postgresql/{{ pg_version }}/main/pg_hba.conf"
|
dest: "/etc/postgresql/{{ pg_version }}/main/pg_hba.conf"
|
||||||
mode: 0644
|
mode: 0640
|
||||||
notify: Restart postgres
|
notify: Restart postgres
|
||||||
|
|
||||||
- name: Create backup dir
|
- name: Create backup dir
|
||||||
|
Reference in New Issue
Block a user