vagrant-box-factory

Форк
0
64 строки · 2.4 Кб
1
---
2
# RHEL/CentOS only. Set a repository to use for PostgreSQL installation.
3
postgresql_enablerepo: ""
4

5
# Set postgresql state when configuration changes are made. Recommended values:
6
# `restarted` or `reloaded`
7
postgresql_restarted_state: "restarted"
8

9
postgresql_python_library: python-psycopg2
10
postgresql_user: postgres
11
postgresql_group: postgres
12

13
postgresql_unix_socket_directories:
14
  - /var/run/postgresql
15

16
postgresql_service_state: started
17
postgresql_service_enabled: true
18

19
# Global configuration options that will be set in postgresql.conf.
20
postgresql_global_config_options:
21
  - option: unix_socket_directories
22
    value: '{{ postgresql_unix_socket_directories | join(",") }}'
23

24
# Host based authentication (hba) entries to be added to the pg_hba.conf. This
25
# variable's defaults reflect the defaults that come with a fresh installation.
26
postgresql_hba_entries:
27
  - {type: local, database: all, user: postgres, auth_method: peer}
28
  - {type: local, database: all, user: all, auth_method: peer}
29
  - {type: host, database: all, user: all, address: '127.0.0.1/32', auth_method: md5}
30
  - {type: host, database: all, user: all, address: '::1/128', auth_method: md5}
31

32
# Debian only. Used to generate the locales used by PostgreSQL databases.
33
postgresql_locales:
34
  - 'en_US.UTF-8'
35

36
# Databases to ensure exist.
37
postgresql_databases: []
38
# - name: exampledb # required; the rest are optional
39
#   lc_collate: # defaults to 'en_US.UTF-8'
40
#   lc_ctype: # defaults to 'en_US.UTF-8'
41
#   encoding: # defaults to 'UTF-8'
42
#   template: # defaults to 'template0'
43
#   login_host: # defaults to 'localhost'
44
#   login_password: # defaults to not set
45
#   login_user: # defaults to '{{ postgresql_user }}'
46
#   login_unix_socket: # defaults to 1st of postgresql_unix_socket_directories
47
#   port: # defaults to not set
48
#   owner: # defaults to postgresql_user
49
#   state: # defaults to 'present'
50

51
# Users to ensure exist.
52
postgresql_users: []
53
# - name: jdoe #required; the rest are optional
54
#   password: # defaults to not set
55
#   encrypted: # defaults to not set
56
#   priv: # defaults to not set
57
#   role_attr_flags: # defaults to not set
58
#   db: # defaults to not set
59
#   login_host: # defaults to 'localhost'
60
#   login_password: # defaults to not set
61
#   login_user: # defaults to '{{ postgresql_user }}'
62
#   login_unix_socket: # defaults to 1st of postgresql_unix_socket_directories
63
#   port: # defaults to not set
64
#   state: # defaults to 'present'
65

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.