Skip to content

Commit 42074a9

Browse files
author
Greg Clough
committed
Crosschecked, and found some that I missed.
1 parent cb43081 commit 42074a9

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

defaults/main.yml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ postgresql_unix_socket_permissions: 0777 # begin with 0 to use octal notation
100100
# cluster specific options to be passed to pg_ctl(1).
101101
postgresql_pg_ctl_options: []
102102

103-
postgresql_bonjour: off # advertise server via Bonjour
104-
postgresql_bonjour_name: "" # defaults to the computer name
103+
postgresql_bonjour: off # advertise server via Bonjour
104+
postgresql_bonjour_name: "" # defaults to the computer name
105105

106106

107107
# - Security and Authentication -
@@ -119,8 +119,8 @@ postgresql_ssl_ecdh_curve: "prime256v1"
119119
postgresql_ssl_renegotiation_limit: 512MB # amount of data between renegotiations
120120
postgresql_ssl_cert_file: "/etc/ssl/certs/ssl-cert-snakeoil.pem" # (>= 9.2)
121121
postgresql_ssl_key_file: "/etc/ssl/private/ssl-cert-snakeoil.key" # (>= 9.2)
122-
postgresql_ssl_ca_file: "" # (>= 9.2)
123-
postgresql_ssl_crl_file: "" # (>= 9.2)
122+
postgresql_ssl_ca_file: "" # (>= 9.2)
123+
postgresql_ssl_crl_file: "" # (>= 9.2)
124124
postgresql_password_encryption: on
125125
postgresql_db_user_namespace: off
126126
postgresql_row_security: off # (>= 9.5)
@@ -258,7 +258,7 @@ postgresql_checkpoint_warning: 30s # 0 disables
258258
# - Archiving -
259259

260260
# allows archiving to be done
261-
postgresql_archive_mode: off
261+
postgresql_archive_mode: off # Should be a string with quotes, but all templates need fixing first
262262

263263
# Command to use to archive a logfile segment.
264264
# Placeholders: %p = path of file to archive
@@ -364,12 +364,12 @@ postgresql_geqo_seed: 0.0 # range 0.0-1.0
364364

365365
# - Other Planner Options -
366366

367-
postgresql_default_statistics_target: 100 # range 1-10000
368-
postgresql_constraint_exclusion: partition # on, off, or partition
369-
postgresql_cursor_tuple_fraction: 0.1 # range 0.0-1.0
367+
postgresql_default_statistics_target: 100 # range 1-10000
368+
postgresql_constraint_exclusion: "partition" # on, off, or partition
369+
postgresql_cursor_tuple_fraction: 0.1 # range 0.0-1.0
370370
postgresql_from_collapse_limit: 8
371-
postgresql_join_collapse_limit: 8 # 1 disables collapsing of explicit
372-
postgresql_force_parallel_mode: off # (>= 9.6)
371+
postgresql_join_collapse_limit: 8 # 1 disables collapsing of explicit
372+
postgresql_force_parallel_mode: "off" # (>= 9.6)
373373

374374

375375
#------------------------------------------------------------------------------
@@ -380,7 +380,7 @@ postgresql_force_parallel_mode: off # (>= 9.6)
380380

381381
# Valid values are combinations of stderr, csvlog, syslog, and eventlog.
382382
# depending on platform. Csvlog requires logging_collector to be on.
383-
postgresql_log_destination: stderr
383+
postgresql_log_destination: "stderr"
384384

385385
# Enable capturing of stderr and csvlog into log files.
386386
# Required to be on for csvlogs.
@@ -389,10 +389,10 @@ postgresql_logging_collector: off
389389
# These are only used if logging_collector is on:
390390

391391
# Directory where log files are written, can be absolute or relative to PGDATA
392-
postgresql_log_directory: pg_log
392+
postgresql_log_directory: "pg_log"
393393
# Log file name pattern, can include strftime() escapes
394-
postgresql_log_filename: postgresql-%Y-%m-%d_%H%M%S.log
395-
postgresql_log_file_mode: "0600" # begin with 0 to use octal notation
394+
postgresql_log_filename: "postgresql-%Y-%m-%d_%H%M%S.log"
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
@@ -404,12 +404,12 @@ postgresql_log_rotation_age: 1d
404404
postgresql_log_rotation_size: 10MB
405405

406406
# These are relevant when logging to syslog:
407-
postgresql_syslog_facility: LOCAL0
408-
postgresql_syslog_ident: postgres
407+
postgresql_syslog_facility: "LOCAL0"
408+
postgresql_syslog_ident: "postgres"
409409
postgresql_syslog_sequence_numbers: on # (>= 9.6)
410410
postgresql_syslog_split_messages: on # (>= 9.6)
411411
# This is only relevant when logging to eventlog (win32) (>= 9.2):
412-
postgresql_event_source: PostgreSQL
412+
postgresql_event_source: "PostgreSQL"
413413

414414

415415
# - When to Log -
@@ -424,7 +424,7 @@ postgresql_event_source: PostgreSQL
424424
# - notice
425425
# - warning
426426
# - error
427-
postgresql_client_min_messages: notice
427+
postgresql_client_min_messages: "notice"
428428

429429
# Values in order of decreasing detail:
430430
# - debug5
@@ -439,7 +439,7 @@ postgresql_client_min_messages: notice
439439
# - log
440440
# - fatal
441441
# - panic
442-
postgresql_log_min_messages: warning
442+
postgresql_log_min_messages: "warning"
443443

444444
# Values in order of decreasing detail:
445445
# - debug5
@@ -454,7 +454,7 @@ postgresql_log_min_messages: warning
454454
# - log
455455
# - fatal
456456
# - panic (effectively off)
457-
postgresql_log_min_error_statement: error
457+
postgresql_log_min_error_statement: "error"
458458

459459
# -1 is disabled, 0 logs all statements and their durations, > 0 logs only
460460
# statements running at least this number of milliseconds
@@ -471,7 +471,7 @@ postgresql_log_checkpoints: off
471471
postgresql_log_connections: off
472472
postgresql_log_disconnections: off
473473
postgresql_log_duration: off
474-
postgresql_log_error_verbosity: default # terse, default, or verbose messages
474+
postgresql_log_error_verbosity: "default" # terse, default, or verbose messages
475475
postgresql_log_hostname: off
476476

477477
# Special values:
@@ -498,10 +498,10 @@ postgresql_log_line_prefix: "%t "
498498

499499
# log lock waits >= deadlock_timeout
500500
postgresql_log_lock_waits: off
501-
postgresql_log_statement: none # none, ddl, mod, all
501+
postgresql_log_statement: "none" # none, ddl, mod, all
502502
# log temporary files equal or larger
503503
postgresql_log_temp_files: -1
504-
postgresql_log_timezone: UTC
504+
postgresql_log_timezone: "UTC"
505505

506506

507507
#------------------------------------------------------------------------------
@@ -513,10 +513,10 @@ postgresql_log_timezone: UTC
513513
postgresql_track_activities: on
514514
postgresql_track_counts: on
515515
postgresql_track_io_timing: off # (>= 9.2)
516-
postgresql_track_functions: none # none, pl, all
516+
postgresql_track_functions: "none" # none, pl, all
517517
postgresql_track_activity_query_size: 1024
518518
postgresql_update_process_title: on
519-
postgresql_stats_temp_directory: pg_stat_tmp
519+
postgresql_stats_temp_directory: "pg_stat_tmp"
520520

521521

522522
# - Statistics Monitoring -
@@ -566,15 +566,15 @@ postgresql_autovacuum_vacuum_cost_limit: -1
566566

567567
postgresql_search_path: # schema names
568568
- '"$user"'
569-
- public
569+
- "public"
570570
postgresql_default_tablespace: "" # a tablespace name, "" uses the default
571571
postgresql_temp_tablespaces: [] # a list of tablespace names
572572

573573
postgresql_check_function_bodies: on
574-
postgresql_default_transaction_isolation: read committed
574+
postgresql_default_transaction_isolation: "read committed"
575575
postgresql_default_transaction_read_only: off
576576
postgresql_default_transaction_deferrable: off
577-
postgresql_session_replication_role: origin
577+
postgresql_session_replication_role: "origin"
578578

579579
postgresql_statement_timeout: 0 # in milliseconds, 0 is disabled
580580
postgresql_lock_timeout: 0 # in milliseconds, 0 is disabled (>= 9.3)
@@ -584,26 +584,26 @@ postgresql_vacuum_freeze_table_age: 150000000
584584
postgresql_vacuum_multixact_freeze_min_age: 5000000 # (>= 9.3)
585585
postgresql_vacuum_multixact_freeze_table_age: 150000000 # (>= 9.3)
586586

587-
postgresql_bytea_output: hex # hex, escape
588-
postgresql_xmlbinary: base64
589-
postgresql_xmloption: content
587+
postgresql_bytea_output: "hex" # hex, escape
588+
postgresql_xmlbinary: "base64"
589+
postgresql_xmloption: "content"
590590
postgresql_gin_fuzzy_search_limit: 0 # (<= 9.2)
591591

592592

593593
# - Locale and Formatting -
594594

595595
postgresql_datestyle:
596-
- iso
597-
- mdy
598-
postgresql_intervalstyle: postgres
599-
postgresql_timezone: UTC
596+
- "iso"
597+
- "mdy"
598+
postgresql_intervalstyle: "postgres"
599+
postgresql_timezone: "UTC"
600600

601601
# Select the set of available time zone abbreviations. Currently, there are:
602602
# Default
603603
# Australia
604604
# India
605605
# You can create your own file in `share/timezonesets/`.
606-
postgresql_timezone_abbreviations: Default
606+
postgresql_timezone_abbreviations: "Default"
607607

608608
postgresql_extra_float_digits: 0 # min -15, max 3
609609
postgresql_client_encoding: False # actually defaults to database encoding

0 commit comments

Comments
 (0)