22
33# Basic settings
44postgresql_version : 11
5+ postgresql_version_terse : " {{ postgresql_version | replace('.', '') }}" # Short version of the postgresql_version, used in some path and filenames
56postgresql_encoding : " UTF-8"
67postgresql_data_checksums : false
78postgresql_pwfile : " "
@@ -15,6 +16,10 @@ postgresql_ctype_parts:
1516 - " UTF-8" # Encoding
1617postgresql_ctype : " {{ postgresql_ctype_parts | join('.') }}"
1718
19+ postgresql_env :
20+ LC_ALL : " {{ postgresql_locale }}"
21+ LC_LCTYPE : " {{ postgresql_locale }}"
22+
1823postgresql_admin_user : " postgres"
1924postgresql_default_auth_method : " peer"
2025postgresql_default_auth_method_hosts : " md5"
@@ -117,10 +122,6 @@ postgresql_unix_socket_directories: # (>= 9.3)
117122postgresql_unix_socket_group : " "
118123postgresql_unix_socket_permissions : " 0777" # begin with 0 to use octal notation
119124
120- # Automatic pg_ctl configuration. Specify a list of options containing
121- # cluster specific options to be passed to pg_ctl(1).
122- postgresql_pg_ctl_options : []
123-
124125postgresql_bonjour : off # advertise server via Bonjour
125126postgresql_bonjour_name : " " # defaults to the computer name
126127
@@ -759,10 +760,9 @@ postgresql_pgtune_type: "Mixed"
759760# Maximum number of expected connections, if "no", default based on db type
760761postgresql_pgtune_connections : no
761762
762-
763- postgresql_env :
764- LC_ALL : " {{ postgresql_locale }}"
765- LC_LCTYPE : " {{ postgresql_locale }}"
763+ # ------------------------------------------------------------------------------
764+ # INSTALL/REPO
765+ # ------------------------------------------------------------------------------
766766
767767# Install repo, or rely on existing configuration (Satellite, Artifactory, etc.)
768768postgresql_install_repository : true
@@ -774,67 +774,6 @@ postgresql_apt_repository: "deb http://apt.postgresql.org/pub/repos/apt/ {{ ansi
774774# Pin-Priority of PGDG repository
775775postgresql_apt_pin_priority : 500
776776
777- # Yum settings
778- postgresql_pgdg_dists :
779- RedHat : redhat
780- CentOS : centos
781- Scientific : sl
782- SLC : sl
783- OracleLinux : oraclelinux
784- Fedora : fedora
785-
786- postgresql_pgdg_releases :
787- redhat : {
788- 9.1 : 8,
789- 9.2 : 9,
790- 9.3 : 3,
791- 9.4 : 3,
792- 9.5 : 3,
793- 9.6 : 3,
794- 10 : 2,
795- 11 : 2,
796- }
797- centos : {
798- 9.1 : 7,
799- 9.2 : 8,
800- 9.3 : 3,
801- 9.4 : 3,
802- 9.5 : 3,
803- 9.6 : 3,
804- 10 : 2,
805- 11 : 2,
806- }
807- sl : {
808- 9.1 : 8,
809- 9.2 : 9,
810- 9.3 : 3,
811- 9.4 : 3,
812- 9.5 : 3,
813- 9.6 : 3,
814- 10 : 2,
815- 11 : 2,
816- }
817- oraclelinux : {
818- 9.1 : 8,
819- 9.2 : 9,
820- 9.3 : 3,
821- 9.4 : 3,
822- 9.5 : 3,
823- 9.6 : 3,
824- 10 : 2,
825- 11 : 2,
826- }
827-
828- postgresql_fedora_releases :
829- fedora : {
830- 9.5 : 12,
831- 9.6 : 8,
832- 10 : 3,
833- 11 : 2,
834- }
835-
836- postgresql_version_terse : " {{ postgresql_version | replace('.', '') }}"
837-
838777# YUM repository locations
839778postgresql_yum_repository_url : " http://yum.postgresql.org"
840779postgresql_pgdg_repository_url : " https://download.postgresql.org/pub/repos/yum/"
0 commit comments