add postgresql_unix_socket_directories_mode option to change the mode to the unix socket directories (which causes idempotence problemes on RedHat-7)
This commit is contained in:
parent
fa3c639b78
commit
1842b7d65e
|
@ -13,6 +13,8 @@ postgresql_group: postgres
|
|||
postgresql_unix_socket_directories:
|
||||
- /var/run/postgresql
|
||||
|
||||
postgresql_unix_socket_directories_mode: '02755'
|
||||
|
||||
postgresql_service_state: started
|
||||
postgresql_service_enabled: true
|
||||
|
||||
|
|
|
@ -24,5 +24,5 @@
|
|||
state: directory
|
||||
owner: "{{ postgresql_user }}"
|
||||
group: "{{ postgresql_group }}"
|
||||
mode: 02775
|
||||
mode: "{{ postgresql_unix_socket_directories_mode }}"
|
||||
with_items: "{{ postgresql_unix_socket_directories }}"
|
||||
|
|
Loading…
Reference in New Issue