Skip to content

Commit 67e0fae

Browse files
author
Greg Clough
committed
Octal numbers need to be quoted, otherwise they get converted to Decimal
1 parent 42074a9 commit 67e0fae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

defaults/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ postgresql_unix_socket_directory: "" # (<= 9.2)
9494
postgresql_unix_socket_directories: # (>= 9.3)
9595
- "{{ postgresql_pid_directory }}"
9696
postgresql_unix_socket_group: ""
97-
postgresql_unix_socket_permissions: 0777 # begin with 0 to use octal notation
97+
postgresql_unix_socket_permissions: "0777" # begin with 0 to use octal notation
9898

9999
# Automatic pg_ctl configuration. Specify a list of options containing
100100
# cluster specific options to be passed to pg_ctl(1).
@@ -392,7 +392,7 @@ postgresql_logging_collector: off
392392
postgresql_log_directory: "pg_log"
393393
# Log file name pattern, can include strftime() escapes
394394
postgresql_log_filename: "postgresql-%Y-%m-%d_%H%M%S.log"
395-
postgresql_log_file_mode: 0600 # begin with 0 to use octal notation
395+
postgresql_log_file_mode: "0600" # begin with 0 to use octal notation
396396
# If on, an existing log file with the same name as the new log file will be
397397
# truncated rather than appended to. But such truncation only occurs on
398398
# time-driven rotation, not on restarts or size-driven rotation. Default is

0 commit comments

Comments
 (0)