taperole 2.0.4 → 2.0.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b68d8196fb7578ed68e30d354fafa78fff95139
4
- data.tar.gz: 59134efa6f52ab3a9fb5a956cb86876fd54f5412
3
+ metadata.gz: 7eec54ffef46602a93e19b6e8b3e10773f980ed7
4
+ data.tar.gz: 8c8dc070b4858297cbbd4808409e9dc66d62c27c
5
5
  SHA512:
6
- metadata.gz: f539c6be120ea067eb659802655a610b14ad2c4d473ede24070fc6e0d66268f5a5e5d6ccc0dfa89f8b27797305743352943447ee5b75a78879f93707195b1b9c
7
- data.tar.gz: 2694f78e11e9029156721433926ea37e60727f02e09ad0450932f2fc91bf239be379683f02f3f0e95957724414fbef44037f598bf810ca18e5df2623428f1b21
6
+ metadata.gz: 6bf30c6b61014d8efded760154e5f9fbb54ad4626a5d7199e0b554e4593fb1ec870d5b264148e887383e1688494ee2df7f53e7a1893883b67206a98072d6aba4
7
+ data.tar.gz: 39817924bee5b1d2d69501de613ad076e2ee6ab59085a943d41d528db86e609a76b79ca53f305c73aef2e70d4759dd38ea58b52a3626a839a3354c91fcdd8f3e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ### 2.0.5
2
+ * Fixes letsencrypt bugs
3
+ * Uses letsencrypt hooks when renewing cert
4
+ * Updates galaxy roles
5
+ * Fixes to apt-get upgrade
6
+
1
7
  ### 2.0.0
2
8
  * Set default ruby to 2.4
3
9
  * Moved from Unicorn to Puma
@@ -1,3 +1,3 @@
1
1
  module Taperole
2
- VERSION = '2.0.4'.freeze
2
+ VERSION = '2.0.5'.freeze
3
3
  end
data/requirements.yml CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  - src: ANXS.postgresql
10
10
  name: ANXS.postgresql
11
- version: v1.7.1
11
+ version: v1.8.0
12
12
 
13
13
  - src: tersmitten.htop
14
14
 
@@ -16,6 +16,6 @@
16
16
  weekday: 1
17
17
  hour: 2
18
18
  minute: 30
19
- job: /opt/letsencrypt/letsencrypt-auto renew --rsa-key-size 4096 --renew-hook "/usr/bin/monit restart nginx" >> /var/log/le-renew.log
19
+ job: /opt/letsencrypt/letsencrypt-auto renew --rsa-key-size 4096 --pre-hook "/usr/bin/monit stop nginx" --post-hook "/usr/bin/monit start nginx" >> /var/log/le-renew.log
20
20
  user: root
21
21
  when: letsencrypt.enabled == true
@@ -18,7 +18,7 @@
18
18
  when: letsencrypt.enabled == false
19
19
 
20
20
  - name: Create Diffie Hellman Ephemeral Parameters (this will take some time)
21
- command: bash -lc "openssl dhparam -out dhparam.pem 2048"
21
+ command: bash -lc "openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048"
22
22
  args:
23
23
  creates: /etc/nginx/ssl/dhparam.pem
24
24
 
@@ -1,5 +1,18 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
+ ### BEGIN INIT INFO
4
+ # Provides: puma
5
+ # Required-Start:
6
+ # Required-Stop:
7
+ # Should-Start:
8
+ # Should-Stop:
9
+ # Default-Start: 2 3 4 5
10
+ # Default-Stop: 0 1 6
11
+ # Short-Description: puma rails server
12
+ # Description: puma serves rails fast
13
+ ### END INIT INFO
14
+
15
+
3
16
  # This monit wrapper script will be called by monit as root
4
17
  # Edit these variables to your liking
5
18
 
@@ -1,4 +1,4 @@
1
- ## ANXS - PostgreSQL [![Build Status](https://travis-ci.org/ANXS/postgresql.png?branch=master)](https://travis-ci.org/ANXS/postgresql)
1
+ ## ANXS - PostgreSQL [![Build Status](https://travis-ci.org/ANXS/postgresql.svg?branch=master)](https://travis-ci.org/ANXS/postgresql)
2
2
 
3
3
  Ansible role which installs and configures PostgreSQL, extensions, databases and users.
4
4
 
@@ -8,7 +8,8 @@ Vagrant.configure('2') do |config|
8
8
  config.ssh.private_key_path = '~/.vagrant.d/insecure_private_key'
9
9
 
10
10
  config.vm.define 'anxs' do |machine|
11
- machine.vm.box = "ubuntu/trusty64"
11
+ machine.vm.box = "bento/ubuntu-16.04"
12
+ # machine.vm.box = "ubuntu/trusty64"
12
13
  #machine.vm.box = "ubuntu/precise64"
13
14
  #machine.vm.box = "debian/jessie64"
14
15
  #machine.vm.box = "debian/wheezy64"
@@ -17,6 +18,7 @@ Vagrant.configure('2') do |config|
17
18
 
18
19
  machine.vm.network :private_network, ip: '192.168.88.22'
19
20
  machine.vm.hostname = 'anxs.local'
21
+
20
22
  machine.vm.provision 'ansible' do |ansible|
21
23
  ansible.playbook = 'tests/playbook.yml'
22
24
  ansible.sudo = true
@@ -31,6 +31,11 @@ postgresql_ext_install_postgis: no
31
31
 
32
32
  postgresql_ext_postgis_version: "2.1" # be careful: check whether the postgresql/postgis versions work together
33
33
 
34
+ postgresql_ext_postgis_deps:
35
+ - libgeos-c1
36
+ - "postgresql-{{postgresql_version}}-postgis-{{postgresql_ext_postgis_version}}"
37
+ - "postgresql-{{postgresql_version}}-postgis-scripts"
38
+
34
39
  # List of databases to be created (optional)
35
40
  postgresql_databases: []
36
41
 
@@ -1 +1 @@
1
- {install_date: 'Mon Mar 6 20:23:05 2017', version: v1.7.1}
1
+ {install_date: 'Thu Jun 29 19:08:34 2017', version: v1.8.0}
@@ -1,14 +1,16 @@
1
1
  # file: postgresql/tasks/extensions/postgis.yml
2
2
 
3
+ - include_vars: "{{ item }}"
4
+ with_first_found:
5
+ - "../vars/{{ ansible_distribution_release }}.yml"
6
+ - "../vars/empty.yml"
7
+
3
8
  - name: PostgreSQL | Extensions | Make sure the postgis extensions are installed
4
9
  apt:
5
10
  name: "{{item}}"
6
11
  state: present
7
12
  update_cache: yes
8
13
  cache_valid_time: "{{apt_cache_valid_time | default (3600)}}"
9
- with_items:
10
- - libgeos-c1
11
- - "postgresql-{{postgresql_version}}-postgis-{{postgresql_ext_postgis_version}}"
12
- - "postgresql-{{postgresql_version}}-postgis-scripts"
14
+ with_items: "{{ postgresql_ext_postgis_deps }}"
13
15
  notify:
14
16
  - restart postgresql
@@ -39,6 +39,7 @@
39
39
  name: "{{item}}"
40
40
  state: present
41
41
  update_cache: yes
42
+ default_release: "{{ansible_distribution_release}}-pgdg"
42
43
  cache_valid_time: "{{apt_cache_valid_time | default (3600)}}"
43
44
  environment: "{{postgresql_env}}"
44
45
  with_items:
@@ -0,0 +1,643 @@
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
+ # TB = terabytes h = hours
31
+ # d = days
32
+
33
+
34
+ #------------------------------------------------------------------------------
35
+ # FILE LOCATIONS
36
+ #------------------------------------------------------------------------------
37
+
38
+ # The default values of these variables are driven from the -D command-line
39
+ # option or PGDATA environment variable, represented here as ConfigDir.
40
+
41
+ #data_directory = 'ConfigDir' # use data in another directory
42
+ # (change requires restart)
43
+ #hba_file = 'ConfigDir/pg_hba.conf' # host-based authentication file
44
+ # (change requires restart)
45
+ #ident_file = 'ConfigDir/pg_ident.conf' # ident configuration file
46
+ # (change requires restart)
47
+
48
+ # If external_pid_file is not explicitly set, no extra PID file is written.
49
+ #external_pid_file = '' # write an extra PID file
50
+ # (change requires restart)
51
+
52
+
53
+ #------------------------------------------------------------------------------
54
+ # CONNECTIONS AND AUTHENTICATION
55
+ #------------------------------------------------------------------------------
56
+
57
+ # - Connection Settings -
58
+
59
+ #listen_addresses = 'localhost' # what IP address(es) to listen on;
60
+ # comma-separated list of addresses;
61
+ # defaults to 'localhost'; use '*' for all
62
+ # (change requires restart)
63
+ #port = 5432 # (change requires restart)
64
+ #max_connections = 100 # (change requires restart)
65
+ #superuser_reserved_connections = 3 # (change requires restart)
66
+ #unix_socket_directories = '/tmp' # comma-separated list of directories
67
+ # (change requires restart)
68
+ #unix_socket_group = '' # (change requires restart)
69
+ #unix_socket_permissions = 0777 # begin with 0 to use octal notation
70
+ # (change requires restart)
71
+ #bonjour = off # advertise server via Bonjour
72
+ # (change requires restart)
73
+ #bonjour_name = '' # defaults to the computer name
74
+ # (change requires restart)
75
+
76
+ # - Security and Authentication -
77
+
78
+ #authentication_timeout = 1min # 1s-600s
79
+ #ssl = off # (change requires restart)
80
+ #ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
81
+ # (change requires restart)
82
+ #ssl_prefer_server_ciphers = on # (change requires restart)
83
+ #ssl_ecdh_curve = 'prime256v1' # (change requires restart)
84
+ #ssl_cert_file = 'server.crt' # (change requires restart)
85
+ #ssl_key_file = 'server.key' # (change requires restart)
86
+ #ssl_ca_file = '' # (change requires restart)
87
+ #ssl_crl_file = '' # (change requires restart)
88
+ #password_encryption = on
89
+ #db_user_namespace = off
90
+ #row_security = on
91
+
92
+ # GSSAPI using Kerberos
93
+ #krb_server_keyfile = ''
94
+ #krb_caseins_users = off
95
+
96
+ # - TCP Keepalives -
97
+ # see "man 7 tcp" for details
98
+
99
+ #tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
100
+ # 0 selects the system default
101
+ #tcp_keepalives_interval = 0 # TCP_KEEPINTVL, in seconds;
102
+ # 0 selects the system default
103
+ #tcp_keepalives_count = 0 # TCP_KEEPCNT;
104
+ # 0 selects the system default
105
+
106
+
107
+ #------------------------------------------------------------------------------
108
+ # RESOURCE USAGE (except WAL)
109
+ #------------------------------------------------------------------------------
110
+
111
+ # - Memory -
112
+
113
+ #shared_buffers = 32MB # min 128kB
114
+ # (change requires restart)
115
+ #huge_pages = try # on, off, or try
116
+ # (change requires restart)
117
+ #temp_buffers = 8MB # min 800kB
118
+ #max_prepared_transactions = 0 # zero disables the feature
119
+ # (change requires restart)
120
+ # Caution: it is not advisable to set max_prepared_transactions nonzero unless
121
+ # you actively intend to use prepared transactions.
122
+ #work_mem = 4MB # min 64kB
123
+ #maintenance_work_mem = 64MB # min 1MB
124
+ #replacement_sort_tuples = 150000 # limits use of replacement selection sort
125
+ #autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
126
+ #max_stack_depth = 2MB # min 100kB
127
+ #dynamic_shared_memory_type = posix # the default is the first option
128
+ # supported by the operating system:
129
+ # posix
130
+ # sysv
131
+ # windows
132
+ # mmap
133
+ # use none to disable dynamic shared memory
134
+
135
+ # - Disk -
136
+
137
+ #temp_file_limit = -1 # limits per-process temp file space
138
+ # in kB, or -1 for no limit
139
+
140
+ # - Kernel Resource Usage -
141
+
142
+ #max_files_per_process = 1000 # min 25
143
+ # (change requires restart)
144
+ #shared_preload_libraries = '' # (change requires restart)
145
+
146
+ # - Cost-Based Vacuum Delay -
147
+
148
+ #vacuum_cost_delay = 0 # 0-100 milliseconds
149
+ #vacuum_cost_page_hit = 1 # 0-10000 credits
150
+ #vacuum_cost_page_miss = 10 # 0-10000 credits
151
+ #vacuum_cost_page_dirty = 20 # 0-10000 credits
152
+ #vacuum_cost_limit = 200 # 1-10000 credits
153
+
154
+ # - Background Writer -
155
+
156
+ #bgwriter_delay = 200ms # 10-10000ms between rounds
157
+ #bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round
158
+ #bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
159
+ #bgwriter_flush_after = 0 # 0 disables,
160
+ # default is 512kB on linux, 0 otherwise
161
+
162
+ # - Asynchronous Behavior -
163
+
164
+ #effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
165
+ #max_worker_processes = 8 # (change requires restart)
166
+ #max_parallel_workers_per_gather = 0 # taken from max_worker_processes
167
+ #old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
168
+ # (change requires restart)
169
+ #backend_flush_after = 0 # 0 disables, default is 0
170
+
171
+
172
+ #------------------------------------------------------------------------------
173
+ # WRITE AHEAD LOG
174
+ #------------------------------------------------------------------------------
175
+
176
+ # - Settings -
177
+
178
+ #wal_level = minimal # minimal, replica, or logical
179
+ # (change requires restart)
180
+ #fsync = on # flush data to disk for crash safety
181
+ # (turning this off can cause
182
+ # unrecoverable data corruption)
183
+ #synchronous_commit = on # synchronization level;
184
+ # off, local, remote_write, remote_apply, or on
185
+ #wal_sync_method = fsync # the default is the first option
186
+ # supported by the operating system:
187
+ # open_datasync
188
+ # fdatasync (default on Linux)
189
+ # fsync
190
+ # fsync_writethrough
191
+ # open_sync
192
+ #full_page_writes = on # recover from partial page writes
193
+ #wal_compression = off # enable compression of full-page writes
194
+ #wal_log_hints = off # also do full page writes of non-critical updates
195
+ # (change requires restart)
196
+ #wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
197
+ # (change requires restart)
198
+ #wal_writer_delay = 200ms # 1-10000 milliseconds
199
+ #wal_writer_flush_after = 1MB # 0 disables
200
+
201
+ #commit_delay = 0 # range 0-100000, in microseconds
202
+ #commit_siblings = 5 # range 1-1000
203
+
204
+ # - Checkpoints -
205
+
206
+ #checkpoint_timeout = 5min # range 30s-1d
207
+ #max_wal_size = 1GB
208
+ #min_wal_size = 80MB
209
+ #checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0
210
+ #checkpoint_flush_after = 0 # 0 disables,
211
+ # default is 256kB on linux, 0 otherwise
212
+ #checkpoint_warning = 30s # 0 disables
213
+
214
+ # - Archiving -
215
+
216
+ #archive_mode = off # enables archiving; off, on, or always
217
+ # (change requires restart)
218
+ #archive_command = '' # command to use to archive a logfile segment
219
+ # placeholders: %p = path of file to archive
220
+ # %f = file name only
221
+ # e.g. 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f'
222
+ #archive_timeout = 0 # force a logfile segment switch after this
223
+ # number of seconds; 0 disables
224
+
225
+
226
+ #------------------------------------------------------------------------------
227
+ # REPLICATION
228
+ #------------------------------------------------------------------------------
229
+
230
+ # - Sending Server(s) -
231
+
232
+ # Set these on the master and on any standby that will send replication data.
233
+
234
+ #max_wal_senders = 0 # max number of walsender processes
235
+ # (change requires restart)
236
+ #wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
237
+ #wal_sender_timeout = 60s # in milliseconds; 0 disables
238
+
239
+ #max_replication_slots = 0 # max number of replication slots
240
+ # (change requires restart)
241
+ #track_commit_timestamp = off # collect timestamp of transaction commit
242
+ # (change requires restart)
243
+
244
+ # - Master Server -
245
+
246
+ # These settings are ignored on a standby server.
247
+
248
+ #synchronous_standby_names = '' # standby servers that provide sync rep
249
+ # number of sync standbys and comma-separated list of application_name
250
+ # from standby(s); '*' = all
251
+ #vacuum_defer_cleanup_age = 0 # number of xacts by which cleanup is delayed
252
+
253
+ # - Standby Servers -
254
+
255
+ # These settings are ignored on a master server.
256
+
257
+ #hot_standby = off # "on" allows queries during recovery
258
+ # (change requires restart)
259
+ #max_standby_archive_delay = 30s # max delay before canceling queries
260
+ # when reading WAL from archive;
261
+ # -1 allows indefinite delay
262
+ #max_standby_streaming_delay = 30s # max delay before canceling queries
263
+ # when reading streaming WAL;
264
+ # -1 allows indefinite delay
265
+ #wal_receiver_status_interval = 10s # send replies at least this often
266
+ # 0 disables
267
+ #hot_standby_feedback = off # send info from standby to prevent
268
+ # query conflicts
269
+ #wal_receiver_timeout = 60s # time that receiver waits for
270
+ # communication from master
271
+ # in milliseconds; 0 disables
272
+ #wal_retrieve_retry_interval = 5s # time to wait before retrying to
273
+ # retrieve WAL after a failed attempt
274
+
275
+
276
+ #------------------------------------------------------------------------------
277
+ # QUERY TUNING
278
+ #------------------------------------------------------------------------------
279
+
280
+ # - Planner Method Configuration -
281
+
282
+ #enable_bitmapscan = on
283
+ #enable_hashagg = on
284
+ #enable_hashjoin = on
285
+ #enable_indexscan = on
286
+ #enable_indexonlyscan = on
287
+ #enable_material = on
288
+ #enable_mergejoin = on
289
+ #enable_nestloop = on
290
+ #enable_seqscan = on
291
+ #enable_sort = on
292
+ #enable_tidscan = on
293
+
294
+ # - Planner Cost Constants -
295
+
296
+ #seq_page_cost = 1.0 # measured on an arbitrary scale
297
+ #random_page_cost = 4.0 # same scale as above
298
+ #cpu_tuple_cost = 0.01 # same scale as above
299
+ #cpu_index_tuple_cost = 0.005 # same scale as above
300
+ #cpu_operator_cost = 0.0025 # same scale as above
301
+ #parallel_tuple_cost = 0.1 # same scale as above
302
+ #parallel_setup_cost = 1000.0 # same scale as above
303
+ #min_parallel_relation_size = 8MB
304
+ #effective_cache_size = 4GB
305
+
306
+ # - Genetic Query Optimizer -
307
+
308
+ #geqo = on
309
+ #geqo_threshold = 12
310
+ #geqo_effort = 5 # range 1-10
311
+ #geqo_pool_size = 0 # selects default based on effort
312
+ #geqo_generations = 0 # selects default based on effort
313
+ #geqo_selection_bias = 2.0 # range 1.5-2.0
314
+ #geqo_seed = 0.0 # range 0.0-1.0
315
+
316
+ # - Other Planner Options -
317
+
318
+ #default_statistics_target = 100 # range 1-10000
319
+ #constraint_exclusion = partition # on, off, or partition
320
+ #cursor_tuple_fraction = 0.1 # range 0.0-1.0
321
+ #from_collapse_limit = 8
322
+ #join_collapse_limit = 8 # 1 disables collapsing of explicit
323
+ # JOIN clauses
324
+ #force_parallel_mode = off
325
+
326
+
327
+ #------------------------------------------------------------------------------
328
+ # ERROR REPORTING AND LOGGING
329
+ #------------------------------------------------------------------------------
330
+
331
+ # - Where to Log -
332
+
333
+ #log_destination = 'stderr' # Valid values are combinations of
334
+ # stderr, csvlog, syslog, and eventlog,
335
+ # depending on platform. csvlog
336
+ # requires logging_collector to be on.
337
+
338
+ # This is used when logging to stderr:
339
+ #logging_collector = off # Enable capturing of stderr and csvlog
340
+ # into log files. Required to be on for
341
+ # csvlogs.
342
+ # (change requires restart)
343
+
344
+ # These are only used if logging_collector is on:
345
+ #log_directory = 'pg_log' # directory where log files are written,
346
+ # can be absolute or relative to PGDATA
347
+ #log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # log file name pattern,
348
+ # can include strftime() escapes
349
+ #log_file_mode = 0600 # creation mode for log files,
350
+ # begin with 0 to use octal notation
351
+ #log_truncate_on_rotation = off # If on, an existing log file with the
352
+ # same name as the new log file will be
353
+ # truncated rather than appended to.
354
+ # But such truncation only occurs on
355
+ # time-driven rotation, not on restarts
356
+ # or size-driven rotation. Default is
357
+ # off, meaning append to existing files
358
+ # in all cases.
359
+ #log_rotation_age = 1d # Automatic rotation of logfiles will
360
+ # happen after that time. 0 disables.
361
+ #log_rotation_size = 10MB # Automatic rotation of logfiles will
362
+ # happen after that much log output.
363
+ # 0 disables.
364
+
365
+ # These are relevant when logging to syslog:
366
+ #syslog_facility = 'LOCAL0'
367
+ #syslog_ident = 'postgres'
368
+ #syslog_sequence_numbers = on
369
+ #syslog_split_messages = on
370
+
371
+ # This is only relevant when logging to eventlog (win32):
372
+ #event_source = 'PostgreSQL'
373
+
374
+ # - When to Log -
375
+
376
+ #client_min_messages = notice # values in order of decreasing detail:
377
+ # debug5
378
+ # debug4
379
+ # debug3
380
+ # debug2
381
+ # debug1
382
+ # log
383
+ # notice
384
+ # warning
385
+ # error
386
+
387
+ #log_min_messages = warning # values in order of decreasing detail:
388
+ # debug5
389
+ # debug4
390
+ # debug3
391
+ # debug2
392
+ # debug1
393
+ # info
394
+ # notice
395
+ # warning
396
+ # error
397
+ # log
398
+ # fatal
399
+ # panic
400
+
401
+ #log_min_error_statement = error # values in order of decreasing detail:
402
+ # debug5
403
+ # debug4
404
+ # debug3
405
+ # debug2
406
+ # debug1
407
+ # info
408
+ # notice
409
+ # warning
410
+ # error
411
+ # log
412
+ # fatal
413
+ # panic (effectively off)
414
+
415
+ #log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements
416
+ # and their durations, > 0 logs only
417
+ # statements running at least this number
418
+ # of milliseconds
419
+
420
+
421
+ # - What to Log -
422
+
423
+ #debug_print_parse = off
424
+ #debug_print_rewritten = off
425
+ #debug_print_plan = off
426
+ #debug_pretty_print = on
427
+ #log_checkpoints = off
428
+ #log_connections = off
429
+ #log_disconnections = off
430
+ #log_duration = off
431
+ #log_error_verbosity = default # terse, default, or verbose messages
432
+ #log_hostname = off
433
+ #log_line_prefix = '' # special values:
434
+ # %a = application name
435
+ # %u = user name
436
+ # %d = database name
437
+ # %r = remote host and port
438
+ # %h = remote host
439
+ # %p = process ID
440
+ # %t = timestamp without milliseconds
441
+ # %m = timestamp with milliseconds
442
+ # %n = timestamp with milliseconds (as a Unix epoch)
443
+ # %i = command tag
444
+ # %e = SQL state
445
+ # %c = session ID
446
+ # %l = session line number
447
+ # %s = session start timestamp
448
+ # %v = virtual transaction ID
449
+ # %x = transaction ID (0 if none)
450
+ # %q = stop here in non-session
451
+ # processes
452
+ # %% = '%'
453
+ # e.g. '<%u%%%d> '
454
+ #log_lock_waits = off # log lock waits >= deadlock_timeout
455
+ #log_statement = 'none' # none, ddl, mod, all
456
+ #log_replication_commands = off
457
+ #log_temp_files = -1 # log temporary files equal or larger
458
+ # than the specified size in kilobytes;
459
+ # -1 disables, 0 logs all temp files
460
+ #log_timezone = 'GMT'
461
+
462
+
463
+ # - Process Title -
464
+
465
+ #cluster_name = '' # added to process titles if nonempty
466
+ # (change requires restart)
467
+ #update_process_title = on
468
+
469
+
470
+ #------------------------------------------------------------------------------
471
+ # RUNTIME STATISTICS
472
+ #------------------------------------------------------------------------------
473
+
474
+ # - Query/Index Statistics Collector -
475
+
476
+ #track_activities = on
477
+ #track_counts = on
478
+ #track_io_timing = off
479
+ #track_functions = none # none, pl, all
480
+ #track_activity_query_size = 1024 # (change requires restart)
481
+ #stats_temp_directory = 'pg_stat_tmp'
482
+
483
+
484
+ # - Statistics Monitoring -
485
+
486
+ #log_parser_stats = off
487
+ #log_planner_stats = off
488
+ #log_executor_stats = off
489
+ #log_statement_stats = off
490
+
491
+
492
+ #------------------------------------------------------------------------------
493
+ # AUTOVACUUM PARAMETERS
494
+ #------------------------------------------------------------------------------
495
+
496
+ #autovacuum = on # Enable autovacuum subprocess? 'on'
497
+ # requires track_counts to also be on.
498
+ #log_autovacuum_min_duration = -1 # -1 disables, 0 logs all actions and
499
+ # their durations, > 0 logs only
500
+ # actions running at least this number
501
+ # of milliseconds.
502
+ #autovacuum_max_workers = 3 # max number of autovacuum subprocesses
503
+ # (change requires restart)
504
+ #autovacuum_naptime = 1min # time between autovacuum runs
505
+ #autovacuum_vacuum_threshold = 50 # min number of row updates before
506
+ # vacuum
507
+ #autovacuum_analyze_threshold = 50 # min number of row updates before
508
+ # analyze
509
+ #autovacuum_vacuum_scale_factor = 0.2 # fraction of table size before vacuum
510
+ #autovacuum_analyze_scale_factor = 0.1 # fraction of table size before analyze
511
+ #autovacuum_freeze_max_age = 200000000 # maximum XID age before forced vacuum
512
+ # (change requires restart)
513
+ #autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age
514
+ # before forced vacuum
515
+ # (change requires restart)
516
+ #autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
517
+ # autovacuum, in milliseconds;
518
+ # -1 means use vacuum_cost_delay
519
+ #autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
520
+ # autovacuum, -1 means use
521
+ # vacuum_cost_limit
522
+
523
+
524
+ #------------------------------------------------------------------------------
525
+ # CLIENT CONNECTION DEFAULTS
526
+ #------------------------------------------------------------------------------
527
+
528
+ # - Statement Behavior -
529
+
530
+ #search_path = '"$user", public' # schema names
531
+ #default_tablespace = '' # a tablespace name, '' uses the default
532
+ #temp_tablespaces = '' # a list of tablespace names, '' uses
533
+ # only default tablespace
534
+ #check_function_bodies = on
535
+ #default_transaction_isolation = 'read committed'
536
+ #default_transaction_read_only = off
537
+ #default_transaction_deferrable = off
538
+ #session_replication_role = 'origin'
539
+ #statement_timeout = 0 # in milliseconds, 0 is disabled
540
+ #lock_timeout = 0 # in milliseconds, 0 is disabled
541
+ #idle_in_transaction_session_timeout = 0 # in milliseconds, 0 is disabled
542
+ #vacuum_freeze_min_age = 50000000
543
+ #vacuum_freeze_table_age = 150000000
544
+ #vacuum_multixact_freeze_min_age = 5000000
545
+ #vacuum_multixact_freeze_table_age = 150000000
546
+ #bytea_output = 'hex' # hex, escape
547
+ #xmlbinary = 'base64'
548
+ #xmloption = 'content'
549
+ #gin_fuzzy_search_limit = 0
550
+ #gin_pending_list_limit = 4MB
551
+
552
+ # - Locale and Formatting -
553
+
554
+ #datestyle = 'iso, mdy'
555
+ #intervalstyle = 'postgres'
556
+ #timezone = 'GMT'
557
+ #timezone_abbreviations = 'Default' # Select the set of available time zone
558
+ # abbreviations. Currently, there are
559
+ # Default
560
+ # Australia (historical usage)
561
+ # India
562
+ # You can create your own file in
563
+ # share/timezonesets/.
564
+ #extra_float_digits = 0 # min -15, max 3
565
+ #client_encoding = sql_ascii # actually, defaults to database
566
+ # encoding
567
+
568
+ # These settings are initialized by initdb, but they can be changed.
569
+ #lc_messages = 'C' # locale for system error message
570
+ # strings
571
+ #lc_monetary = 'C' # locale for monetary formatting
572
+ #lc_numeric = 'C' # locale for number formatting
573
+ #lc_time = 'C' # locale for time formatting
574
+
575
+ # default configuration for text search
576
+ #default_text_search_config = 'pg_catalog.simple'
577
+
578
+ # - Other Defaults -
579
+
580
+ #dynamic_library_path = '$libdir'
581
+ #local_preload_libraries = ''
582
+ #session_preload_libraries = ''
583
+
584
+
585
+ #------------------------------------------------------------------------------
586
+ # LOCK MANAGEMENT
587
+ #------------------------------------------------------------------------------
588
+
589
+ #deadlock_timeout = 1s
590
+ #max_locks_per_transaction = 64 # min 10
591
+ # (change requires restart)
592
+ #max_pred_locks_per_transaction = 64 # min 10
593
+ # (change requires restart)
594
+
595
+
596
+ #------------------------------------------------------------------------------
597
+ # VERSION/PLATFORM COMPATIBILITY
598
+ #------------------------------------------------------------------------------
599
+
600
+ # - Previous PostgreSQL Versions -
601
+
602
+ #array_nulls = on
603
+ #backslash_quote = safe_encoding # on, off, or safe_encoding
604
+ #default_with_oids = off
605
+ #escape_string_warning = on
606
+ #lo_compat_privileges = off
607
+ #operator_precedence_warning = off
608
+ #quote_all_identifiers = off
609
+ #sql_inheritance = on
610
+ #standard_conforming_strings = on
611
+ #synchronize_seqscans = on
612
+
613
+ # - Other Platforms and Clients -
614
+
615
+ #transform_null_equals = off
616
+
617
+
618
+ #------------------------------------------------------------------------------
619
+ # ERROR HANDLING
620
+ #------------------------------------------------------------------------------
621
+
622
+ #exit_on_error = off # terminate session on any error?
623
+ #restart_after_crash = on # reinitialize after backend crash?
624
+
625
+
626
+ #------------------------------------------------------------------------------
627
+ # CONFIG FILE INCLUDES
628
+ #------------------------------------------------------------------------------
629
+
630
+ # These options allow settings to be loaded from files other than the
631
+ # default postgresql.conf.
632
+
633
+ #include_dir = 'conf.d' # include files ending in '.conf' from
634
+ # directory 'conf.d'
635
+ #include_if_exists = 'exists.conf' # include file only if it exists
636
+ #include = 'special.conf' # include file
637
+
638
+
639
+ #------------------------------------------------------------------------------
640
+ # CUSTOMIZED OPTIONS
641
+ #------------------------------------------------------------------------------
642
+
643
+ # Add settings for extensions here
@@ -0,0 +1,6 @@
1
+ ---
2
+
3
+ postgresql_ext_postgis_deps:
4
+ - libgeos-c1v5
5
+ - "postgresql-{{postgresql_version}}-postgis-{{postgresql_ext_postgis_version}}"
6
+ - "postgresql-{{postgresql_version}}-postgis-scripts"
@@ -1 +1 @@
1
- {install_date: 'Thu Jan 5 14:34:11 2017', version: 3.4.5}
1
+ {install_date: 'Thu Jun 29 19:08:29 2017', version: 3.4.5}
@@ -1 +1 @@
1
- {install_date: 'Tue Mar 7 21:43:53 2017', version: v1.0.2}
1
+ {install_date: 'Thu Jun 29 19:08:36 2017', version: v1.0.2}
@@ -1 +1 @@
1
- {install_date: 'Thu Jan 5 14:34:08 2017', version: v1.1.1}
1
+ {install_date: 'Thu Jun 29 19:08:27 2017', version: v1.1.1}
@@ -1 +1 @@
1
- {install_date: 'Thu Jan 5 14:34:13 2017', version: master}
1
+ {install_date: 'Thu Jun 29 19:08:31 2017', version: master}
@@ -7,7 +7,15 @@ python: "2.7"
7
7
 
8
8
  env:
9
9
  - ANSIBLE_VERSION=latest
10
+ - ANSIBLE_VERSION=2.3.1.0
11
+ - ANSIBLE_VERSION=2.3.0.0
12
+ - ANSIBLE_VERSION=2.2.3.0
13
+ - ANSIBLE_VERSION=2.2.2.0
14
+ - ANSIBLE_VERSION=2.2.1.0
10
15
  - ANSIBLE_VERSION=2.2.0.0
16
+ - ANSIBLE_VERSION=2.1.6
17
+ - ANSIBLE_VERSION=2.1.5
18
+ - ANSIBLE_VERSION=2.1.4
11
19
  - ANSIBLE_VERSION=2.1.3
12
20
  - ANSIBLE_VERSION=2.1.2
13
21
  - ANSIBLE_VERSION=2.1.1.0
@@ -18,31 +26,6 @@ env:
18
26
  - ANSIBLE_VERSION=2.0.0.1
19
27
  - ANSIBLE_VERSION=2.0.0.0
20
28
  - ANSIBLE_VERSION=1.9.6
21
- - ANSIBLE_VERSION=1.9.5
22
- - ANSIBLE_VERSION=1.9.4
23
- - ANSIBLE_VERSION=1.9.3
24
- - ANSIBLE_VERSION=1.9.2
25
- - ANSIBLE_VERSION=1.9.1
26
- - ANSIBLE_VERSION=1.9.0.1
27
- - ANSIBLE_VERSION=1.8.4
28
- - ANSIBLE_VERSION=1.8.3
29
- - ANSIBLE_VERSION=1.8.2
30
- - ANSIBLE_VERSION=1.8.1
31
- - ANSIBLE_VERSION=1.8
32
- - ANSIBLE_VERSION=1.7.2
33
- - ANSIBLE_VERSION=1.7.1
34
- - ANSIBLE_VERSION=1.7
35
- - ANSIBLE_VERSION=1.6.9
36
- - ANSIBLE_VERSION=1.6.8
37
- - ANSIBLE_VERSION=1.6.7
38
- - ANSIBLE_VERSION=1.6.6
39
- - ANSIBLE_VERSION=1.6.5
40
- - ANSIBLE_VERSION=1.6.4
41
- - ANSIBLE_VERSION=1.6.3
42
- - ANSIBLE_VERSION=1.6.2
43
- - ANSIBLE_VERSION=1.6.10
44
- - ANSIBLE_VERSION=1.6.1
45
- - ANSIBLE_VERSION=1.6
46
29
 
47
30
  branches:
48
31
  only:
@@ -56,7 +39,8 @@ before_install:
56
39
 
57
40
  install:
58
41
  # Install Ansible.
59
- - if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install --no-binary ansible ansible; else pip install --no-binary ansible ansible==$ANSIBLE_VERSION; fi
42
+ - if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible; else pip install ansible==$ANSIBLE_VERSION; fi
43
+ - if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible-lint; fi
60
44
 
61
45
  script:
62
46
  # Check the role/playbook's syntax.
@@ -72,6 +56,8 @@ script:
72
56
  && (echo 'Idempotence test: pass' && exit 0)
73
57
  || (echo 'Idempotence test: fail' && exit 1)
74
58
 
59
+ - if [ "$ANSIBLE_VERSION" = "latest" ]; then ansible-lint tests/test.yml || true; fi
60
+
75
61
  notifications:
76
62
  email: false
77
63
  hipchat:
@@ -33,8 +33,8 @@ boxes = [
33
33
  :ram => "256"
34
34
  },
35
35
  {
36
- :name => "debian-86",
37
- :box => "bento/debian-8.6",
36
+ :name => "debian-87",
37
+ :box => "bento/debian-8.7",
38
38
  :ip => '10.0.0.15',
39
39
  :cpu => "50",
40
40
  :ram => "256"
@@ -1 +1 @@
1
- {install_date: 'Thu Jan 5 14:34:20 2017', version: v2.0.4}
1
+ {install_date: 'Thu Jun 29 19:08:36 2017', version: v2.0.9}
@@ -5,7 +5,7 @@ galaxy_info:
5
5
  company: Oefenweb.nl B.V.
6
6
  description: Set up htop in Debian-like systems
7
7
  license: MIT
8
- min_ansible_version: 1.6
8
+ min_ansible_version: 1.9.6
9
9
  platforms:
10
10
  - name: Ubuntu
11
11
  versions:
@@ -2,6 +2,6 @@
2
2
  ---
3
3
  - hosts: localhost
4
4
  connection: local
5
- sudo: true
5
+ become: true
6
6
  roles:
7
7
  - ../../
@@ -2,7 +2,7 @@
2
2
  ---
3
3
  - hosts: all
4
4
  remote_user: vagrant
5
- sudo: true
5
+ become: true
6
6
  roles:
7
7
  - ../../
8
8
  vars:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taperole
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Forrest
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-05-22 00:00:00.000000000 Z
13
+ date: 2017-07-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: slack-notifier
@@ -249,6 +249,7 @@ files:
249
249
  - vendor/ANXS.postgresql/templates/postgresql.conf-9.5.j2
250
250
  - vendor/ANXS.postgresql/templates/postgresql.conf-9.5.orig
251
251
  - vendor/ANXS.postgresql/templates/postgresql.conf-9.6.j2
252
+ - vendor/ANXS.postgresql/templates/postgresql.conf-9.6.orig
252
253
  - vendor/ANXS.postgresql/tests/Dockerfile-centos6
253
254
  - vendor/ANXS.postgresql/tests/Dockerfile-ubuntu14.04
254
255
  - vendor/ANXS.postgresql/tests/idempotence_check.sh
@@ -258,6 +259,7 @@ files:
258
259
  - vendor/ANXS.postgresql/vars/Debian.yml
259
260
  - vendor/ANXS.postgresql/vars/RedHat.yml
260
261
  - vendor/ANXS.postgresql/vars/empty.yml
262
+ - vendor/ANXS.postgresql/vars/xenial.yml
261
263
  - vendor/Stouts.backup/.bumpversion.cfg
262
264
  - vendor/Stouts.backup/.gitignore
263
265
  - vendor/Stouts.backup/.travis.yml