2
2
3
3
# Basic settings
4
4
postgresql_version : 11
5
+ postgresql_version_terse : " {{ postgresql_version | replace('.', '') }}" # Short version of the postgresql_version, used in some path and filenames
5
6
postgresql_encoding : " UTF-8"
6
7
postgresql_data_checksums : false
7
8
postgresql_pwfile : " "
@@ -15,6 +16,10 @@ postgresql_ctype_parts:
15
16
- " UTF-8" # Encoding
16
17
postgresql_ctype : " {{ postgresql_ctype_parts | join('.') }}"
17
18
19
+ postgresql_env :
20
+ LC_ALL : " {{ postgresql_locale }}"
21
+ LC_LCTYPE : " {{ postgresql_locale }}"
22
+
18
23
postgresql_admin_user : " postgres"
19
24
postgresql_default_auth_method : " peer"
20
25
postgresql_default_auth_method_hosts : " md5"
@@ -117,10 +122,6 @@ postgresql_unix_socket_directories: # (>= 9.3)
117
122
postgresql_unix_socket_group : " "
118
123
postgresql_unix_socket_permissions : " 0777" # begin with 0 to use octal notation
119
124
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
-
124
125
postgresql_bonjour : off # advertise server via Bonjour
125
126
postgresql_bonjour_name : " " # defaults to the computer name
126
127
@@ -759,10 +760,9 @@ postgresql_pgtune_type: "Mixed"
759
760
# Maximum number of expected connections, if "no", default based on db type
760
761
postgresql_pgtune_connections : no
761
762
762
-
763
- postgresql_env :
764
- LC_ALL : " {{ postgresql_locale }}"
765
- LC_LCTYPE : " {{ postgresql_locale }}"
763
+ # ------------------------------------------------------------------------------
764
+ # INSTALL/REPO
765
+ # ------------------------------------------------------------------------------
766
766
767
767
# Install repo, or rely on existing configuration (Satellite, Artifactory, etc.)
768
768
postgresql_install_repository : true
@@ -774,67 +774,6 @@ postgresql_apt_repository: "deb http://apt.postgresql.org/pub/repos/apt/ {{ ansi
774
774
# Pin-Priority of PGDG repository
775
775
postgresql_apt_pin_priority : 500
776
776
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
-
838
777
# YUM repository locations
839
778
postgresql_yum_repository_url : " http://yum.postgresql.org"
840
779
postgresql_pgdg_repository_url : " https://download.postgresql.org/pub/repos/yum/"
0 commit comments