taperole 1.2.8 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/.hound.yml +7 -0
  3. data/CHANGELOG.md +12 -0
  4. data/README.md +7 -16
  5. data/config/style_guides/ruby.yml +238 -0
  6. data/lib/tape/ansible_runner.rb +41 -33
  7. data/lib/tape/installer.rb +56 -28
  8. data/lib/tape.rb +8 -0
  9. data/requirements.yml +5 -2
  10. data/roles/backend_install_essentials/meta/main.yml +1 -1
  11. data/roles/database_load/tasks/db_reset.yml +3 -3
  12. data/roles/deployer_user/tasks/keys.yml +3 -2
  13. data/roles/frontend_deploy/tasks/main.yml +5 -1
  14. data/roles/frontend_install_essentials/meta/main.yml +3 -0
  15. data/roles/general/meta/main.yml +2 -0
  16. data/roles/general/tasks/basic_packages.yml +3 -0
  17. data/roles/general/tasks/main.yml +11 -1
  18. data/roles/nginx/tasks/main.yml +6 -2
  19. data/taperole.gemspec +1 -1
  20. data/templates/base/hosts.example +1 -1
  21. data/templates/base/tape_vars.example.yml +0 -3
  22. data/templates/static_html/tape_vars.example.yml +0 -3
  23. data/vars/defaults.yml +5 -0
  24. data/vendor/ANXS.postgresql/.travis.yml +11 -6
  25. data/vendor/ANXS.postgresql/README.md +5 -1
  26. data/vendor/ANXS.postgresql/Vagrantfile +1 -1
  27. data/vendor/ANXS.postgresql/defaults/main.yml +35 -1
  28. data/vendor/ANXS.postgresql/meta/.galaxy_install_info +1 -1
  29. data/vendor/ANXS.postgresql/tasks/configure.yml +34 -3
  30. data/vendor/ANXS.postgresql/tasks/databases.yml +13 -0
  31. data/vendor/ANXS.postgresql/tasks/install.yml +22 -0
  32. data/vendor/ANXS.postgresql/tasks/users_privileges.yml +4 -4
  33. data/vendor/ANXS.postgresql/templates/etc_apt_preferences.d_apt_postgresql_org_pub_repos_apt.pref.j2 +5 -0
  34. data/vendor/ANXS.postgresql/templates/postgresql.conf-9.3.j2 +596 -0
  35. data/vendor/ANXS.postgresql/templates/postgresql.conf-9.4.j2 +614 -0
  36. data/vendor/ANXS.postgresql/vagrant-inventory +1 -1
  37. data/vendor/bennojoy.memcached/meta/.galaxy_install_info +1 -1
  38. data/vendor/jnv.mosh/LICENSE +24 -0
  39. data/vendor/jnv.mosh/README.md +56 -0
  40. data/vendor/jnv.mosh/meta/.galaxy_install_info +1 -0
  41. data/vendor/jnv.mosh/meta/main.yml +96 -0
  42. data/vendor/jnv.mosh/tasks/main.yml +20 -0
  43. data/vendor/jnv.mosh/vars/main.yml +4 -0
  44. data/vendor/jnv.unattended-upgrades/meta/.galaxy_install_info +1 -1
  45. data/vendor/lxhunter.apt/.gitignore +1 -0
  46. data/vendor/lxhunter.apt/.kitchen.yml +67 -0
  47. data/vendor/lxhunter.apt/README.md +33 -25
  48. data/vendor/lxhunter.apt/defaults/main.yml +1 -5
  49. data/vendor/lxhunter.apt/meta/.galaxy_install_info +1 -1
  50. data/vendor/lxhunter.apt/tasks/main.yml +23 -23
  51. data/vendor/lxhunter.apt/test/integration/default/bats/simple.bats +35 -0
  52. data/vendor/lxhunter.apt/test/integration/default/default.yml +16 -0
  53. data/vendor/tersmitten.htop/.gitignore +29 -0
  54. data/vendor/tersmitten.htop/.travis.yml +75 -0
  55. data/vendor/tersmitten.htop/LICENSE.txt +19 -0
  56. data/vendor/tersmitten.htop/README.md +45 -0
  57. data/vendor/tersmitten.htop/Vagrantfile +71 -0
  58. data/vendor/tersmitten.htop/defaults/main.yml +8 -0
  59. data/vendor/tersmitten.htop/files/etc/skel/.config/htop/htoprc +23 -0
  60. data/vendor/tersmitten.htop/handlers/main.yml +2 -0
  61. data/vendor/tersmitten.htop/meta/.galaxy_install_info +1 -0
  62. data/vendor/tersmitten.htop/meta/main.yml +18 -0
  63. data/vendor/tersmitten.htop/tasks/main.yml +27 -0
  64. data/vendor/tersmitten.htop/templates/empty +0 -0
  65. data/vendor/tersmitten.htop/tests/inventory +1 -0
  66. data/vendor/tersmitten.htop/tests/test.yml +6 -0
  67. data/vendor/tersmitten.htop/tests/vagrant.yml +17 -0
  68. data/vendor/tersmitten.htop/vars/main.yml +2 -0
  69. data/vendor/williamyeh.nodejs/.gitignore +1 -0
  70. data/vendor/williamyeh.nodejs/LICENSE +22 -0
  71. data/vendor/williamyeh.nodejs/README.md +107 -0
  72. data/vendor/williamyeh.nodejs/Vagrantfile +33 -0
  73. data/vendor/williamyeh.nodejs/circle.yml +32 -0
  74. data/vendor/williamyeh.nodejs/defaults/main.yml +17 -0
  75. data/vendor/williamyeh.nodejs/files/nodesource.gpg.key +52 -0
  76. data/vendor/williamyeh.nodejs/meta/.galaxy_install_info +1 -0
  77. data/vendor/williamyeh.nodejs/meta/main.yml +27 -0
  78. data/vendor/williamyeh.nodejs/tasks/main.yml +19 -0
  79. data/vendor/williamyeh.nodejs/tasks/set-role-variables.yml +15 -0
  80. data/vendor/williamyeh.nodejs/tasks/use-apt.yml +88 -0
  81. data/vendor/williamyeh.nodejs/tasks/use-yum.yml +34 -0
  82. data/vendor/williamyeh.nodejs/test/Dockerfile-centos6 +29 -0
  83. data/vendor/williamyeh.nodejs/test/Dockerfile-centos7 +29 -0
  84. data/vendor/williamyeh.nodejs/test/Dockerfile-debian7 +29 -0
  85. data/vendor/williamyeh.nodejs/test/Dockerfile-debian8 +29 -0
  86. data/vendor/williamyeh.nodejs/test/Dockerfile-ubuntu12.04 +29 -0
  87. data/vendor/williamyeh.nodejs/test/Dockerfile-ubuntu14.04 +29 -0
  88. data/vendor/williamyeh.nodejs/test.yml +12 -0
  89. data/vendor/zzet.rbenv/.travis.yml +5 -2
  90. data/vendor/zzet.rbenv/README.md +1 -1
  91. data/vendor/zzet.rbenv/defaults/main.yml +3 -3
  92. data/vendor/zzet.rbenv/meta/.galaxy_install_info +1 -1
  93. data/vendor/zzet.rbenv/tasks/apt_build_depends.yml +7 -0
  94. data/vendor/zzet.rbenv/tasks/homebrew_build_depends.yml +4 -2
  95. data/vendor/zzet.rbenv/tasks/main.yml +5 -2
  96. metadata +53 -7
  97. data/lib/tape/vagrant_provisioner.rb +0 -42
  98. data/vendor/ANXS.postgresql/templates/postgresql.conf.j2 +0 -446
  99. data/vendor/lxhunter.apt/.travis.yml +0 -12
  100. data/vendor/lxhunter.apt/Vagrantfile +0 -16
  101. data/vendor/lxhunter.apt/templates/apt_10general.j2 +0 -4
@@ -1,446 +0,0 @@
1
- # -----------------------------
2
- # PostgreSQL configuration file
3
- # -----------------------------
4
- #
5
- # This file consists of lines of the form:
6
- #
7
- # name = value
8
- #
9
- # (The "=" is optional.) Whitespace may be used. Comments are introduced with
10
- # "#" anywhere on a line. The complete list of parameter names and allowed
11
- # values can be found in the PostgreSQL documentation.
12
- #
13
- # The commented-out settings shown in this file represent the default values.
14
- # Re-commenting a setting is NOT sufficient to revert it to the default value;
15
- # you need to reload the server.
16
- #
17
- # This file is read on server startup and when the server receives a SIGHUP
18
- # signal. If you edit the file on a running system, you have to SIGHUP the
19
- # server for the changes to take effect, or use "pg_ctl reload". Some
20
- # parameters, which are marked below, require a server shutdown and restart to
21
- # take effect.
22
- #
23
- # Any parameter can also be given as a command-line option to the server, e.g.,
24
- # "postgres -c log_connections=on". Some parameters can be changed at run time
25
- # with the "SET" SQL command.
26
- #
27
- # Memory units: kB = kilobytes Time units: ms = milliseconds
28
- # MB = megabytes s = seconds
29
- # GB = gigabytes min = minutes
30
- # h = hours
31
- # d = days
32
-
33
-
34
- #------------------------------------------------------------------------------
35
- # FILE LOCATIONS
36
- #------------------------------------------------------------------------------
37
-
38
- data_directory = '{{postgresql_data_directory}}'
39
-
40
- hba_file = '{{postgresql_hba_file}}'
41
-
42
- ident_file = '{{postgresql_ident_file}}'
43
-
44
- external_pid_file = '{{postgresql_external_pid_file}}'
45
-
46
-
47
- #------------------------------------------------------------------------------
48
- # CONNECTIONS AND AUTHENTICATION
49
- #------------------------------------------------------------------------------
50
-
51
- listen_addresses = '{{postgresql_listen_addresses|join(',')}}'
52
- port = {{postgresql_port}}
53
-
54
- max_connections = {{postgresql_max_connections}}
55
- superuser_reserved_connections = {{postgresql_superuser_reserved_connections}}
56
-
57
- unix_socket_directories = '{{postgresql_unix_socket_directories|join(',')}}'
58
- unix_socket_group = '{{postgresql_unix_socket_group}}'
59
- unix_socket_permissions = {{postgresql_unix_socket_permissions}}
60
-
61
- bonjour = {{'on' if postgresql_bonjour else 'off'}}
62
- bonjour_name = '{{postgresql_bonjour_name}}'
63
-
64
-
65
- # - Security and Authentication -
66
-
67
- authentication_timeout = {{postgresql_authentication_timeout}}
68
- ssl = {{'on' if postgresql_ssl else 'off'}}
69
- ssl_ciphers = '{{postgresql_ssl_ciphers|join(':')}}'
70
- ssl_renegotiation_limit = {{postgresql_ssl_renegotiation_limit}}
71
- ssl_cert_file = '{{postgresql_ssl_cert_file}}'
72
- ssl_key_file = '{{postgresql_ssl_key_file}}'
73
- ssl_ca_file = '{{postgresql_ssl_ca_file}}'
74
- ssl_crl_file = '{{postgresql_ssl_crl_file}}'
75
- password_encryption = {{'on' if postgresql_password_encryption else 'off'}}
76
- db_user_namespace = {{'on' if postgresql_db_user_namespace else 'off'}}
77
-
78
- # Kerberos and GSSAPI
79
- krb_server_keyfile = '{{postgresql_krb_server_keyfile}}'
80
- krb_srvname = '{{postgresql_krb_srvname}}'
81
- krb_caseins_users = {{'on' if postgresql_db_user_namespace else 'off'}}
82
-
83
- # TCP Keepalives, 0 selects the system default
84
- tcp_keepalives_idle = {{postgresql_tcp_keepalives_idle}}
85
- tcp_keepalives_interval = {{postgresql_tcp_keepalives_interval}}
86
- tcp_keepalives_count = {{postgresql_tcp_keepalives_count}}
87
-
88
-
89
- #------------------------------------------------------------------------------
90
- # RESOURCE USAGE (except WAL)
91
- #------------------------------------------------------------------------------
92
-
93
- # - Memory -
94
-
95
- shared_buffers = {{postgresql_shared_buffers}}
96
- temp_buffers = {{postgresql_temp_buffers}}
97
-
98
- max_prepared_transactions = {{postgresql_max_prepared_transactions}}
99
-
100
- work_mem = {{postgresql_work_mem}}
101
- maintenance_work_mem = {{postgresql_maintenance_work_mem}}
102
- max_stack_depth = {{postgresql_max_stack_depth}}
103
-
104
-
105
- # - Disk -
106
-
107
- temp_file_limit = {{postgresql_temp_file_limit}}
108
-
109
-
110
- # - Kernel Resource Usage -
111
-
112
- max_files_per_process = {{postgresql_max_files_per_process}}
113
- shared_preload_libraries = '{{postgresql_shared_preload_libraries|join(',')}}'
114
-
115
-
116
- # - Cost-Based Vacuum Delay -
117
-
118
- vacuum_cost_delay = {{postgresql_vacuum_cost_delay}}
119
- vacuum_cost_page_hit = {{postgresql_vacuum_cost_page_hit}}
120
- vacuum_cost_page_miss = {{postgresql_vacuum_cost_page_miss}}
121
- vacuum_cost_page_dirty = {{postgresql_vacuum_cost_page_dirty}}
122
- vacuum_cost_limit = {{postgresql_vacuum_cost_limit}}
123
-
124
-
125
- # - Background Writer -
126
-
127
- bgwriter_delay = {{postgresql_bgwriter_delay}}
128
- bgwriter_lru_maxpages = {{postgresql_bgwriter_lru_maxpages}}
129
- bgwriter_lru_multiplier = {{postgresql_bgwriter_lru_multiplier}}
130
-
131
-
132
- # - Asynchronous Behavior -
133
-
134
- effective_io_concurrency = {{postgresql_effective_io_concurrency}}
135
-
136
-
137
- #------------------------------------------------------------------------------
138
- # WRITE AHEAD LOG
139
- #------------------------------------------------------------------------------
140
-
141
- # - Settings -
142
-
143
- wal_level = {{postgresql_wal_level}}
144
- fsync = {{'on' if postgresql_fsync else 'off'}}
145
-
146
- synchronous_commit = {{postgresql_synchronous_commit}}
147
-
148
- wal_sync_method = {{postgresql_wal_sync_method}}
149
-
150
- full_page_writes = {{'on' if postgresql_full_page_writes else 'off'}}
151
-
152
- wal_buffers = {{postgresql_wal_buffers}}
153
- wal_writer_delay = {{postgresql_wal_writer_delay}}
154
- commit_delay = {{postgresql_commit_delay}}
155
- commit_siblings = {{postgresql_commit_siblings}}
156
-
157
-
158
- # - Checkpoints -
159
-
160
- checkpoint_segments = {{postgresql_checkpoint_segments}}
161
- checkpoint_timeout = {{postgresql_checkpoint_timeout}}
162
- checkpoint_completion_target = {{postgresql_checkpoint_completion_target}}
163
- checkpoint_warning = {{postgresql_checkpoint_warning}}
164
-
165
-
166
- # - Archiving -
167
-
168
- archive_mode = {{'on' if postgresql_archive_mode else 'off'}}
169
- archive_command = '{{postgresql_archive_command}}'
170
- archive_timeout = {{postgresql_archive_timeout}}
171
-
172
-
173
- #------------------------------------------------------------------------------
174
- # REPLICATION
175
- #------------------------------------------------------------------------------
176
-
177
- # - Sending Server(s) -
178
-
179
- max_wal_senders = {{postgresql_max_wal_senders}}
180
- wal_keep_segments = {{postgresql_wal_keep_segments}}
181
- wal_sender_timeout = {{postgresql_wal_sender_timeout}}
182
-
183
-
184
- # - Master Server -
185
-
186
- synchronous_standby_names = '{{postgresql_synchronous_standby_names|join(',')}}'
187
-
188
- vacuum_defer_cleanup_age = {{postgresql_vacuum_defer_cleanup_age}}
189
-
190
-
191
- # - Standby Servers -
192
-
193
- hot_standby = {{'on' if postgresql_hot_standby else 'off'}}
194
- max_standby_archive_delay = {{postgresql_max_standby_archive_delay}}
195
- max_standby_streaming_delay = {{postgresql_max_standby_streaming_delay}}
196
- wal_receiver_status_interval = {{postgresql_wal_receiver_status_interval}}
197
- hot_standby_feedback = {{'on' if postgresql_hot_standby_feedback or 'off'}}
198
- wal_receiver_timeout = {{postgresql_wal_receiver_timeout}}
199
-
200
-
201
- #------------------------------------------------------------------------------
202
- # QUERY TUNING
203
- #------------------------------------------------------------------------------
204
-
205
- # - Planner Method Configuration -
206
-
207
- enable_bitmapscan = {{'on' if postgresql_enable_bitmapscan else 'off'}}
208
- enable_hashagg = {{'on' if postgresql_enable_hashagg else 'off'}}
209
- enable_hashjoin = {{'on' if postgresql_enable_hashjoin else 'off'}}
210
- enable_indexscan = {{'on' if postgresql_enable_indexscan else 'off'}}
211
- enable_indexonlyscan = {{'on' if postgresql_enable_indexonlyscan else 'off'}}
212
- enable_material = {{'on' if postgresql_enable_material else 'off'}}
213
- enable_mergejoin = {{'on' if postgresql_enable_mergejoin else 'off'}}
214
- enable_nestloop = {{'on' if postgresql_enable_nestloop else 'off'}}
215
- enable_seqscan = {{'on' if postgresql_enable_seqscan else 'off'}}
216
- enable_sort = {{'on' if postgresql_enable_sort else 'off'}}
217
- enable_tidscan = {{'on' if postgresql_enable_tidscan else 'off'}}
218
-
219
-
220
- # - Planner Cost Constants -
221
-
222
- seq_page_cost = {{postgresql_seq_page_cost}}
223
- random_page_cost = {{postgresql_random_page_cost}}
224
- cpu_tuple_cost = {{postgresql_cpu_tuple_cost}}
225
- cpu_index_tuple_cost = {{postgresql_cpu_index_tuple_cost}}
226
- cpu_operator_cost = {{postgresql_cpu_operator_cost}}
227
- effective_cache_size = {{postgresql_effective_cache_size}}
228
-
229
-
230
- # - Genetic Query Optimizer -
231
-
232
- geqo = {{'on' if postgresql_enable_tidscan else 'off'}}
233
- geqo_threshold = {{postgresql_geqo_threshold}}
234
- geqo_effort = {{postgresql_geqo_effort}}
235
- geqo_pool_size = {{postgresql_geqo_pool_size}}
236
- geqo_generations = {{postgresql_geqo_generations}}
237
- geqo_selection_bias = {{postgresql_geqo_selection_bias}}
238
- geqo_seed = {{postgresql_geqo_seed}}
239
-
240
-
241
- # - Other Planner Options -
242
-
243
- default_statistics_target = {{postgresql_default_statistics_target}}
244
- constraint_exclusion = {{postgresql_constraint_exclusion}}
245
- cursor_tuple_fraction = {{postgresql_cursor_tuple_fraction}}
246
- from_collapse_limit = {{postgresql_from_collapse_limit}}
247
- join_collapse_limit = {{postgresql_join_collapse_limit}}
248
-
249
-
250
- #------------------------------------------------------------------------------
251
- # ERROR REPORTING AND LOGGING
252
- #------------------------------------------------------------------------------
253
-
254
- # - Where to Log -
255
-
256
- log_destination = '{{postgresql_log_destination}}'
257
-
258
- logging_collector = {{'on' if postgresql_logging_collector else 'off'}}
259
-
260
- log_directory = '{{postgresql_log_directory}}'
261
- log_filename = '{{postgresql_log_filename}}'
262
- log_file_mode = {{postgresql_log_file_mode}}
263
- log_truncate_on_rotation = {{'on' if postgresql_log_truncate_on_rotation else 'off'}}
264
- log_rotation_age = {{postgresql_log_rotation_age}}
265
- log_rotation_size = {{postgresql_log_rotation_size}}
266
-
267
- syslog_facility = '{{postgresql_syslog_facility}}'
268
- syslog_ident = '{{postgresql_syslog_ident}}'
269
-
270
- event_source = '{{postgresql_event_source}}'
271
-
272
-
273
- # - When to Log -
274
-
275
- client_min_messages = {{postgresql_client_min_messages}}
276
-
277
- log_min_messages = {{postgresql_log_min_messages}}
278
- log_min_error_statement = {{postgresql_log_min_error_statement}}
279
- log_min_duration_statement = {{postgresql_log_min_duration_statement}}
280
-
281
-
282
- # - What to Log -
283
-
284
- debug_print_parse = {{'on' if postgresql_debug_print_parse else 'off'}}
285
- debug_print_rewritten = {{'on' if postgresql_debug_print_rewritten else 'off'}}
286
- debug_print_plan = {{'on' if postgresql_debug_print_plan else 'off'}}
287
- debug_pretty_print = {{'on' if postgresql_debug_pretty_print else 'off'}}
288
- log_checkpoints = {{'on' if postgresql_log_checkpoints else 'off'}}
289
- log_connections = {{'on' if postgresql_log_connections else 'off'}}
290
- log_disconnections = {{'on' if postgresql_log_disconnections else 'off'}}
291
- log_duration = {{'on' if postgresql_log_duration else 'off'}}
292
- log_error_verbosity = {{postgresql_log_error_verbosity}} # terse, default, or verbose messages
293
- log_hostname = {{'on' if postgresql_log_duration else 'off'}}
294
- log_line_prefix = '{{postgresql_log_line_prefix}}'
295
- log_lock_waits = {{'on' if postgresql_log_lock_waits else 'off'}}
296
- log_statement = '{{postgresql_log_statement}}'
297
- log_temp_files = {{postgresql_log_temp_files}}
298
- log_timezone = '{{postgresql_log_timezone}}'
299
-
300
-
301
- #------------------------------------------------------------------------------
302
- # RUNTIME STATISTICS
303
- #------------------------------------------------------------------------------
304
-
305
- # - Query/Index Statistics Collector -
306
-
307
- track_activities = {{'on' if postgresql_track_activities else 'off'}}
308
- track_counts = {{'on' if postgresql_track_counts else 'off'}}
309
- track_io_timing = {{'on' if postgresql_track_io_timing else 'off'}}
310
- track_functions = {{postgresql_track_functions}} # none, pl, all
311
- track_activity_query_size = {{postgresql_track_activity_query_size}}
312
- update_process_title = {{'on' if postgresql_update_process_title else 'off'}}
313
- stats_temp_directory = '{{postgresql_stats_temp_directory}}'
314
-
315
-
316
- # - Statistics Monitoring -
317
-
318
- log_parser_stats = {{'on' if postgresql_log_parser_stats else 'off'}}
319
- log_planner_stats = {{'on' if postgresql_log_planner_stats else 'off'}}
320
- log_executor_stats = {{'on' if postgresql_log_executor_stats else 'off'}}
321
- log_statement_stats = {{'on' if postgresql_log_statement_stats else 'off'}}
322
-
323
-
324
- #------------------------------------------------------------------------------
325
- # AUTOVACUUM PARAMETERS
326
- #------------------------------------------------------------------------------
327
-
328
- autovacuum = {{'on' if postgresql_autovacuum else 'off'}}
329
- log_autovacuum_min_duration = {{postgresql_log_autovacuum_min_duration}}
330
- autovacuum_max_workers = {{postgresql_autovacuum_max_workers}}
331
- autovacuum_naptime = {{postgresql_autovacuum_naptime}}
332
- autovacuum_vacuum_threshold = {{postgresql_autovacuum_vacuum_threshold}}
333
- autovacuum_analyze_threshold = {{postgresql_autovacuum_analyze_threshold}}
334
- autovacuum_vacuum_scale_factor = {{postgresql_autovacuum_vacuum_scale_factor}}
335
- autovacuum_analyze_scale_factor = {{postgresql_autovacuum_analyze_scale_factor}}
336
- autovacuum_freeze_max_age = {{postgresql_autovacuum_freeze_max_age}}
337
- autovacuum_vacuum_cost_delay = {{postgresql_autovacuum_vacuum_cost_delay}}
338
- autovacuum_vacuum_cost_limit = {{postgresql_autovacuum_vacuum_cost_limit}}
339
-
340
-
341
- #------------------------------------------------------------------------------
342
- # CLIENT CONNECTION DEFAULTS
343
- #------------------------------------------------------------------------------
344
-
345
- # - Statement Behavior -
346
-
347
- search_path = '{{postgresql_search_path|join(',')}}'
348
- default_tablespace = '{{postgresql_default_tablespace}}'
349
- temp_tablespaces = '{{postgresql_temp_tablespaces|join(',')}}'
350
-
351
- check_function_bodies = {{'on' if postgresql_check_function_bodies else 'off'}}
352
- default_transaction_isolation = '{{postgresql_default_transaction_isolation}}'
353
- default_transaction_read_only = {{'on' if postgresql_default_transaction_read_only else 'off'}}
354
- default_transaction_deferrable = {{'on' if postgresql_default_transaction_deferrable else 'off'}}
355
- session_replication_role = '{{postgresql_session_replication_role}}'
356
-
357
- statement_timeout = {{postgresql_statement_timeout}}
358
- lock_timeout = {{postgresql_lock_timeout}}
359
- vacuum_freeze_min_age = {{postgresql_vacuum_freeze_min_age}}
360
- vacuum_freeze_table_age = {{postgresql_vacuum_freeze_table_age}}
361
-
362
- bytea_output = '{{postgresql_bytea_output}}'
363
- xmlbinary = '{{postgresql_xmlbinary}}'
364
- xmloption = '{{postgresql_xmloption}}'
365
-
366
-
367
- # - Locale and Formatting -
368
-
369
- datestyle = '{{postgresql_datestyle|join(',')}}'
370
- intervalstyle = '{{postgresql_intervalstyle}}'
371
- timezone = '{{postgresql_timezone}}'
372
-
373
- timezone_abbreviations = '{{postgresql_timezone_abbreviations}}'
374
-
375
- extra_float_digits = {{postgresql_extra_float_digits}}
376
- client_encoding = {{postgresql_client_encoding}}
377
-
378
- lc_messages = '{{postgresql_lc_messages}}'
379
- lc_monetary = '{{postgresql_lc_monetary}}'
380
- lc_numeric = '{{postgresql_lc_numeric}}'
381
- lc_time = '{{postgresql_lc_time}}'
382
-
383
- default_text_search_config = '{{postgresql_default_text_search_config}}'
384
-
385
- dynamic_library_path = '{{postgresql_dynamic_library_path}}'
386
- local_preload_libraries = '{{postgresql_local_preload_libraries|join(',')}}'
387
-
388
-
389
- #------------------------------------------------------------------------------
390
- # LOCK MANAGEMENT
391
- #------------------------------------------------------------------------------
392
-
393
- deadlock_timeout = {{postgresql_deadlock_timeout}}
394
- max_locks_per_transaction = {{postgresql_max_locks_per_transaction}}
395
-
396
- max_pred_locks_per_transaction = {{postgresql_max_pred_locks_per_transaction}}
397
-
398
-
399
- #------------------------------------------------------------------------------
400
- # VERSION/PLATFORM COMPATIBILITY
401
- #------------------------------------------------------------------------------
402
-
403
- # - Previous PostgreSQL Versions -
404
-
405
- array_nulls = {{'on' if postgresql_array_nulls else 'off'}}
406
- backslash_quote = {{postgresql_backslash_quote}} # on, off, or safe_encoding
407
- default_with_oids = {{'on' if postgresql_default_with_oids else 'off'}}
408
- escape_string_warning = {{'on' if postgresql_escape_string_warning else 'off'}}
409
- lo_compat_privileges = {{'on' if postgresql_lo_compat_privileges else 'off'}}
410
- quote_all_identifiers = {{'on' if postgresql_quote_all_identifiers else 'off'}}
411
- sql_inheritance = {{'on' if postgresql_sql_inheritance else 'off'}}
412
- standard_conforming_strings = {{'on' if postgresql_standard_conforming_strings else 'off'}}
413
- synchronize_seqscans = {{'on' if postgresql_synchronize_seqscans else 'off'}}
414
-
415
-
416
- # - Other Platforms and Clients -
417
-
418
- transform_null_equals = {{'on' if postgresql_transform_null_equals else 'off'}}
419
-
420
-
421
- #------------------------------------------------------------------------------
422
- # ERROR HANDLING
423
- #------------------------------------------------------------------------------
424
-
425
- exit_on_error = {{'on' if postgresql_exit_on_error else 'off'}}
426
- restart_after_crash = {{'on' if postgresql_restart_after_crash else 'off'}}
427
-
428
-
429
- #------------------------------------------------------------------------------
430
- # CONFIG FILE INCLUDES
431
- #------------------------------------------------------------------------------
432
-
433
- # These options allow settings to be loaded from files other than the
434
- # default postgresql.conf.
435
-
436
- include_dir = 'conf.d' # include files ending in '.conf' from
437
- # directory 'conf.d'
438
- #include_if_exists = 'exists.conf' # include file only if it exists
439
- #include = 'special.conf' # include file
440
-
441
-
442
- #------------------------------------------------------------------------------
443
- # CUSTOMIZED OPTIONS
444
- #------------------------------------------------------------------------------
445
-
446
- # Add settings for extensions here
@@ -1,12 +0,0 @@
1
- ---
2
- language: python
3
- python: "2.7"
4
- before_install:
5
- - sudo apt-get update -qq
6
- - sudo apt-get install -qq python-apt python-pycurl
7
- install:
8
- - pip install ansible
9
- script:
10
- - echo localhost > inventory
11
- - ansible-playbook --syntax-check -i inventory test.yml
12
- - ansible-playbook -i inventory test.yml --connection=local --sudo
@@ -1,16 +0,0 @@
1
- Vagrant.configure("2") do |config|
2
-
3
- config.vm.define 'ubuntu1310-i386' do |instance|
4
- instance.vm.box = 'ubuntu1310-i386'
5
- #instance.vm.box_url = 'https://dl.dropboxusercontent.com/s/etextqjf5btefbq/ubuntu1310-i386.box'
6
-
7
- config.vm.provision "ansible" do |ansible|
8
- ansible.playbook = "test.yml"
9
- ansible.sudo_user = 'root'
10
- ansible.sudo = true
11
- # ansible.inventory_path = "provisioning/hosts-vagrant"
12
- # ansible.verbose = 'vvvv'
13
- # ansible.raw_arguments = ['--user', 'vagrant']
14
- end
15
- end
16
- end
@@ -1,4 +0,0 @@
1
- APT::Install-Recommends "{{ apt_install_recommends | lower }}";
2
- APT::Install-Suggests "{{ apt_install_suggests | lower }}";
3
-
4
- APT::Get::Show-Upgraded "true";