Merge pull request #73 from tenso-m/dir-perms
ensure proper permissions for postgresql dir
This commit is contained in:
@@ -8,6 +8,11 @@ include:
|
|||||||
{{ postgres.conf_dir }}:
|
{{ postgres.conf_dir }}:
|
||||||
file.directory:
|
file.directory:
|
||||||
- makedirs: True
|
- makedirs: True
|
||||||
|
- user: postgres
|
||||||
|
- group: postgres
|
||||||
|
- dir_mode: 700
|
||||||
|
- clean: True
|
||||||
|
- unless: test -f {{ postgres.conf_dir }}/PG_VERSION
|
||||||
|
|
||||||
install-postgresql:
|
install-postgresql:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
|
|||||||
Reference in New Issue
Block a user