subspace 2.5.3 → 2.5.7
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 +4 -4
- data/.gitignore +0 -0
- data/.rspec +0 -0
- data/.ruby-gemset +0 -0
- data/.ruby-version +1 -1
- data/.travis.yml +0 -0
- data/CHANGELOG.md +19 -1
- data/CODE_OF_CONDUCT.md +0 -0
- data/Gemfile +0 -0
- data/LICENSE.txt +0 -0
- data/README.md +2 -2
- data/Rakefile +0 -0
- data/TODO +0 -0
- data/ansible/playbooks/local_template.yml +0 -0
- data/ansible/playbooks/maintenance_mode.yml +0 -0
- data/ansible/roles/alienvault/tasks/main.yml +0 -0
- data/ansible/roles/apache/defaults/main.yml +0 -0
- data/ansible/roles/apache/handlers/main.yml +0 -0
- data/ansible/roles/apache/tasks/main.yml +0 -0
- data/ansible/roles/apache/templates/server_status.conf +0 -0
- data/ansible/roles/apache-rails/tasks/main.yml +0 -0
- data/ansible/roles/apache-rails/templates/_canonical_domain.conf +0 -0
- data/ansible/roles/apache-rails/templates/_rails.conf +0 -0
- data/ansible/roles/apache-rails/templates/project-ssl.conf +0 -0
- data/ansible/roles/apache-rails/templates/project.conf +0 -0
- data/ansible/roles/awscli/tasks/main.yml +0 -0
- data/ansible/roles/collectd/defaults/main.yml +0 -0
- data/ansible/roles/collectd/handlers/main.yml +0 -0
- data/ansible/roles/collectd/tasks/main.yml +0 -0
- data/ansible/roles/collectd/templates/apache2.conf +0 -0
- data/ansible/roles/collectd/templates/delayed_job_postgres.conf +0 -0
- data/ansible/roles/collectd/templates/df.conf +0 -0
- data/ansible/roles/collectd/templates/graphite.conf +0 -0
- data/ansible/roles/collectd/templates/hostname.conf +0 -0
- data/ansible/roles/collectd/templates/nginx.conf +0 -0
- data/ansible/roles/collectd/templates/nodejs-process.conf +0 -0
- data/ansible/roles/collectd/templates/puma-process.conf +0 -0
- data/ansible/roles/collectd/templates/rails_lograge.conf +0 -0
- data/ansible/roles/common/defaults/main.yml +1 -0
- data/ansible/roles/common/files/sudoers-service +0 -0
- data/ansible/roles/common/handlers/main.yml +0 -0
- data/ansible/roles/common/tasks/main.yml +11 -6
- data/ansible/roles/common/tasks/swap.yml +0 -0
- data/ansible/roles/common/templates/motd +0 -0
- data/ansible/roles/common/templates/motd2 +0 -0
- data/ansible/roles/common/templates/terminalcolor +0 -0
- data/ansible/roles/delayed_job/README.md +0 -0
- data/ansible/roles/delayed_job/defaults/main.yml +0 -0
- data/ansible/roles/delayed_job/handlers/main.yml +0 -0
- data/ansible/roles/delayed_job/meta/main.yml +0 -0
- data/ansible/roles/delayed_job/tasks/main.yml +0 -0
- data/ansible/roles/delayed_job/templates/delayed-job-monit-rc +0 -0
- data/ansible/roles/letsencrypt/defaults/main.yml +0 -0
- data/ansible/roles/letsencrypt/tasks/legacy.yml +0 -0
- data/ansible/roles/letsencrypt/tasks/main.yml +6 -6
- data/ansible/roles/letsencrypt/tasks/modern.yml +26 -0
- data/ansible/roles/letsencrypt_dns/defaults/main.yml +0 -0
- data/ansible/roles/letsencrypt_dns/tasks/main.yml +0 -0
- data/ansible/roles/logrotate/LICENSE +0 -0
- data/ansible/roles/logrotate/README.md +0 -0
- data/ansible/roles/logrotate/defaults/main.yml +0 -0
- data/ansible/roles/logrotate/meta/main.yml +0 -0
- data/ansible/roles/logrotate/tasks/main.yml +0 -0
- data/ansible/roles/logrotate/templates/logrotate.d.j2 +0 -0
- data/ansible/roles/memcache/tasks/main.yml +0 -0
- data/ansible/roles/monit/files/monit-http.conf +0 -0
- data/ansible/roles/monit/files/sudoers-monit +0 -0
- data/ansible/roles/monit/handlers/main.yml +0 -0
- data/ansible/roles/monit/tasks/main.yml +0 -0
- data/ansible/roles/mtpereira.passenger/.bumpversion.cfg +0 -0
- data/ansible/roles/mtpereira.passenger/.gitignore +0 -0
- data/ansible/roles/mtpereira.passenger/LICENSE +0 -0
- data/ansible/roles/mtpereira.passenger/README.md +0 -0
- data/ansible/roles/mtpereira.passenger/defaults/main.yml +0 -0
- data/ansible/roles/mtpereira.passenger/handlers/main.yml +0 -0
- data/ansible/roles/mtpereira.passenger/meta/.galaxy_install_info +0 -0
- data/ansible/roles/mtpereira.passenger/meta/main.yml +0 -0
- data/ansible/roles/mtpereira.passenger/tasks/apt.yml +0 -0
- data/ansible/roles/mtpereira.passenger/tasks/main.yml +0 -0
- data/ansible/roles/mtpereira.passenger/tasks/pkg.yml +0 -0
- data/ansible/roles/mtpereira.passenger/tasks/service.yml +0 -0
- data/ansible/roles/mysql/meta/main.yml +0 -0
- data/ansible/roles/mysql/tasks/main.yml +0 -0
- data/ansible/roles/mysql/templates/mysql_database.yml +0 -0
- data/ansible/roles/mysql2_gem/meta/main.yml +0 -0
- data/ansible/roles/mysql2_gem/tasks/main.yml +0 -0
- data/ansible/roles/newrelic/handlers/main.yml +0 -0
- data/ansible/roles/nginx/defaults/main.yml +0 -0
- data/ansible/roles/nginx/handlers/main.yml +0 -0
- data/ansible/roles/nginx/tasks/main.yml +0 -0
- data/ansible/roles/nginx/templates/status +0 -0
- data/ansible/roles/nginx-maintenance/tasks/main.yml +0 -0
- data/ansible/roles/nginx-rails/defaults/main.yml +0 -0
- data/ansible/roles/nginx-rails/tasks/main.yml +0 -0
- data/ansible/roles/nginx-rails/templates/_asset_cors.conf +0 -0
- data/ansible/roles/nginx-rails/templates/_rails.conf +0 -0
- data/ansible/roles/nginx-rails/templates/_upstream.conf +0 -0
- data/ansible/roles/nginx-rails/templates/default_server +0 -0
- data/ansible/roles/nginx-rails/templates/nginx-project +0 -0
- data/ansible/roles/nginx-rails/templates/nginx-project-ssl +0 -0
- data/ansible/roles/nodejs/tasks/main.yml +0 -0
- data/ansible/roles/papertrail/tasks/main.yml +0 -0
- data/ansible/roles/papertrail/templates/log_files.yml +0 -0
- data/ansible/roles/passenger/files/sudoers-passenger +0 -0
- data/ansible/roles/passenger/meta/main.yml +0 -0
- data/ansible/roles/passenger/tasks/main.yml +0 -0
- data/ansible/roles/postgresql/README.md +0 -0
- data/ansible/roles/postgresql/defaults/main.yml +0 -0
- data/ansible/roles/postgresql/handlers/main.yml +0 -0
- data/ansible/roles/postgresql/meta/main.yml +0 -0
- data/ansible/roles/postgresql/tasks/backups.yml +0 -0
- data/ansible/roles/postgresql/tasks/main.yml +0 -0
- data/ansible/roles/postgresql-client/tasks/main.yml +0 -0
- data/ansible/roles/puma/defaults/main.yml +0 -0
- data/ansible/roles/puma/meta/main.yml +0 -0
- data/ansible/roles/puma/tasks/main.yml +0 -0
- data/ansible/roles/puma/templates/etc-puma.conf +0 -0
- data/ansible/roles/puma/templates/puma-monit-rc +0 -0
- data/ansible/roles/puma/templates/puma.rb +8 -0
- data/ansible/roles/rails/defaults/main.yml +0 -0
- data/ansible/roles/rails/tasks/main.yml +0 -0
- data/ansible/roles/rails/templates/application.yml +0 -0
- data/ansible/roles/rails/templates/database.yml +0 -0
- data/ansible/roles/redis/defaults/main.yml +0 -0
- data/ansible/roles/redis/tasks/main.yml +0 -0
- data/ansible/roles/ruby-common/README.md +0 -0
- data/ansible/roles/ruby-common/defaults/main.yml +0 -0
- data/ansible/roles/ruby-common/meta/main.yml +0 -0
- data/ansible/roles/ruby-common/tasks/main.yml +0 -0
- data/ansible/roles/ruby-common/templates/install-ruby.j2 +0 -0
- data/ansible/roles/ruby-common/templates/rake-env.j2 +0 -0
- data/ansible/roles/ruby-common/templates/ruby-gc-wrapper.j2 +0 -0
- data/ansible/roles/ruby-common/vars/main.yml +0 -0
- data/ansible/roles/sidekiq/README.md +0 -0
- data/ansible/roles/sidekiq/defaults/main.yml +0 -0
- data/ansible/roles/sidekiq/meta/main.yml +0 -0
- data/ansible/roles/sidekiq/tasks/main.yml +0 -0
- data/ansible/roles/sidekiq/templates/sidekiq-monit-rc +0 -0
- data/ansible/roles/yarn/tasks/main.yml +0 -0
- data/ansible/roles/zenoamaro.postgresql/.gitignore +0 -0
- data/ansible/roles/zenoamaro.postgresql/.travis.yml +0 -0
- data/ansible/roles/zenoamaro.postgresql/LICENSE.md +0 -0
- data/ansible/roles/zenoamaro.postgresql/README.md +0 -0
- data/ansible/roles/zenoamaro.postgresql/Vagrantfile +0 -0
- data/ansible/roles/zenoamaro.postgresql/boxed.yml +0 -0
- data/ansible/roles/zenoamaro.postgresql/defaults/main.yml +0 -0
- data/ansible/roles/zenoamaro.postgresql/handlers/main.yml +0 -0
- data/ansible/roles/zenoamaro.postgresql/inventory +0 -0
- data/ansible/roles/zenoamaro.postgresql/main.yml +0 -0
- data/ansible/roles/zenoamaro.postgresql/meta/.galaxy_install_info +0 -0
- data/ansible/roles/zenoamaro.postgresql/meta/main.yml +0 -0
- data/ansible/roles/zenoamaro.postgresql/tasks/configure.yml +0 -0
- data/ansible/roles/zenoamaro.postgresql/tasks/extensions.yml +0 -0
- data/ansible/roles/zenoamaro.postgresql/tasks/install.yml +0 -0
- data/ansible/roles/zenoamaro.postgresql/tasks/main.yml +0 -0
- data/ansible/roles/zenoamaro.postgresql/templates/environment +0 -0
- data/ansible/roles/zenoamaro.postgresql/templates/pg_ctl.conf +0 -0
- data/ansible/roles/zenoamaro.postgresql/templates/pg_hba.conf +0 -0
- data/ansible/roles/zenoamaro.postgresql/templates/pg_ident.conf +0 -0
- data/ansible/roles/zenoamaro.postgresql/templates/postgresql.conf +0 -0
- data/ansible/roles/zenoamaro.postgresql/test.yml +0 -0
- data/lib/subspace/commands/ansible.rb +0 -0
- data/lib/subspace/commands/base.rb +0 -0
- data/lib/subspace/commands/bootstrap.rb +0 -0
- data/lib/subspace/commands/configure.rb +0 -0
- data/lib/subspace/commands/init.rb +0 -0
- data/lib/subspace/commands/maintain.rb +0 -0
- data/lib/subspace/commands/maintenance_mode.rb +0 -0
- data/lib/subspace/commands/override.rb +0 -0
- data/lib/subspace/commands/provision.rb +0 -0
- data/lib/subspace/commands/ssh.rb +0 -0
- data/lib/subspace/commands/vars.rb +0 -0
- data/lib/subspace/configuration.rb +0 -0
- data/lib/subspace/version.rb +1 -1
- data/lib/subspace.rb +0 -0
- data/subspace.gemspec +0 -0
- data/template/provision/.gitignore +0 -0
- data/template/provision/ansible.cfg.erb +0 -0
- data/template/provision/group_vars/all.erb +0 -0
- data/template/provision/group_vars/template.erb +0 -0
- data/template/provision/host_vars/template.erb +0 -0
- data/template/provision/hosts.erb +0 -0
- data/template/provision/playbook.yml.erb +1 -2
- data/template/provision/templates/application.yml.template +0 -0
- data/template/provision/vars/template.erb +0 -0
- data/template/provision.rb.erb +0 -0
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 21a2457116acadc9fd01649174e0a669ae46e15c8e7b6d6945ecfd3f5b77af75
|
|
4
|
+
data.tar.gz: b4be4e599753ec7a0a40f82b0bd1e89d027c31b15a4a4b9c38cdbba5011278a4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4188742f819c864d96ccc410bd24c36a8349e4adcb3ffc334c0dba769a49e514ed46f5fc615ea6d6e6de5bdeb2d2ca81c58affe2733d21c9912af081960535e6
|
|
7
|
+
data.tar.gz: 6d8254829a880a835e8823ebfb637300a3c20e4b6f4e3be2816062cb6ab2bacb66d154a8d139178243312ee2dd5a3ab66af0065a8a680860f663bdfe13cbfb9e
|
data/.gitignore
CHANGED
|
File without changes
|
data/.rspec
CHANGED
|
File without changes
|
data/.ruby-gemset
CHANGED
|
File without changes
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.7.4
|
data/.travis.yml
CHANGED
|
File without changes
|
data/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
This is a [changelog](https://keepachangelog.com/en/0.3.0/).
|
|
4
4
|
|
|
5
|
-
This project attempts to follow [semantic versioning](https://semver.org/)
|
|
5
|
+
This project attempts to follow [semantic versioning](https://semver.org/).
|
|
6
6
|
|
|
7
7
|
## Known Bugs
|
|
8
8
|
|
|
@@ -10,6 +10,24 @@ This project attempts to follow [semantic versioning](https://semver.org/)
|
|
|
10
10
|
* Not working on OSX - macs don't read from /etc/profile.d/
|
|
11
11
|
* Stops showing color if you `sudo su`
|
|
12
12
|
|
|
13
|
+
## Unreleased
|
|
14
|
+
|
|
15
|
+
## 2.5.7
|
|
16
|
+
* Add ability to set the timezone for servers instead of forcing to Central Time
|
|
17
|
+
* Update puma configuration to support puma 5 with puma-daemon
|
|
18
|
+
* Update letsencrypt to add certbot-nginx support for newer ubuntu
|
|
19
|
+
|
|
20
|
+
## 2.5.6
|
|
21
|
+
* Fix sending security stats
|
|
22
|
+
* Make sure apt package acl is installed in common role so ansible can become a non-privileged user
|
|
23
|
+
|
|
24
|
+
## 2.5.5
|
|
25
|
+
* Remove duplicate nginx role from playbook templates
|
|
26
|
+
* Don't send stats if there have been no upgrades
|
|
27
|
+
|
|
28
|
+
## 2.5.4
|
|
29
|
+
* certbox => certbot
|
|
30
|
+
|
|
13
31
|
## 2.5.3
|
|
14
32
|
* Add a friendly error message if ansible is not installed
|
|
15
33
|
* Add new role to support New Relic One's infrastructure agent
|
data/CODE_OF_CONDUCT.md
CHANGED
|
File without changes
|
data/Gemfile
CHANGED
|
File without changes
|
data/LICENSE.txt
CHANGED
|
File without changes
|
data/README.md
CHANGED
|
@@ -428,8 +428,8 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
|
|
|
428
428
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version:
|
|
429
429
|
|
|
430
430
|
1. update the version number in `version.rb`
|
|
431
|
-
2.
|
|
432
|
-
3.
|
|
431
|
+
2. `gem build subspace.gemspec`
|
|
432
|
+
3. `gem push subspace-x.y.z.gem`
|
|
433
433
|
|
|
434
434
|
This will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
435
435
|
|
data/Rakefile
CHANGED
|
File without changes
|
data/TODO
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -125,6 +125,12 @@
|
|
|
125
125
|
- maintenance
|
|
126
126
|
- upgrade
|
|
127
127
|
|
|
128
|
+
- name: Install acl so ansible can become a non-privileged user
|
|
129
|
+
apt:
|
|
130
|
+
pkg: acl
|
|
131
|
+
state: present
|
|
132
|
+
become: true
|
|
133
|
+
|
|
128
134
|
- name: Get os_upgrades stats
|
|
129
135
|
shell:
|
|
130
136
|
cmd: |
|
|
@@ -153,7 +159,7 @@
|
|
|
153
159
|
key: os_upgrades
|
|
154
160
|
value: "{{stats_os_upgrades.stdout}}"
|
|
155
161
|
hostname: "{{hostname}}"
|
|
156
|
-
when: send_stats == true and stats_url is defined and stats_api_key is defined
|
|
162
|
+
when: (send_stats == true) and (stats_url is defined) and (stats_api_key is defined) and (stats_os_upgrades.stdout | length > 0)
|
|
157
163
|
tags:
|
|
158
164
|
- maintenance
|
|
159
165
|
- stats
|
|
@@ -197,9 +203,8 @@
|
|
|
197
203
|
- name: Get os_security_upgrades stats
|
|
198
204
|
shell:
|
|
199
205
|
cmd: |
|
|
200
|
-
|
|
206
|
+
grep -A 1 $(date +%Y-%m) updates.log | # Groups of lines from the current month
|
|
201
207
|
grep 'security' | # Only lines matching 'security'
|
|
202
|
-
grep -P -o '(^\d+)' | #Extract the numbers at the beginning of the lines
|
|
203
208
|
awk '{s+=$1} END {print s}' # Sum all the lines
|
|
204
209
|
args:
|
|
205
210
|
chdir: /opt/subspace
|
|
@@ -222,7 +227,7 @@
|
|
|
222
227
|
key: os_security_upgrades
|
|
223
228
|
value: "{{stats_os_security_upgrades.stdout}}"
|
|
224
229
|
hostname: "{{hostname}}"
|
|
225
|
-
when: send_stats == true and stats_url is defined and stats_api_key is defined
|
|
230
|
+
when: (send_stats == true) and (stats_url is defined) and (stats_api_key is defined) and (stats_os_security_upgrades.stdout | length > 0)
|
|
226
231
|
tags:
|
|
227
232
|
- maintenance
|
|
228
233
|
- stats
|
|
@@ -236,9 +241,9 @@
|
|
|
236
241
|
- maintenance
|
|
237
242
|
- stats
|
|
238
243
|
|
|
239
|
-
- name: set timezone
|
|
244
|
+
- name: set timezone
|
|
240
245
|
timezone:
|
|
241
|
-
name:
|
|
246
|
+
name: "{{timezone}}"
|
|
242
247
|
tags:
|
|
243
248
|
- maintenance
|
|
244
249
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
become: true
|
|
11
11
|
ignore_errors: true
|
|
12
12
|
apt:
|
|
13
|
-
pkg:
|
|
13
|
+
pkg: certbot
|
|
14
14
|
state: present
|
|
15
15
|
|
|
16
16
|
- name: "Detect if certbot was installed via APT"
|
|
@@ -52,13 +52,13 @@
|
|
|
52
52
|
command: "{{certbot_bin}} certonly --email {{letsencrypt_email}} --domains {{item.domains | join(',')}} --cert-name {{item.cert_name}} --standalone --agree-tos --expand --non-interactive"
|
|
53
53
|
|
|
54
54
|
- name: Update nginx default options
|
|
55
|
-
when:
|
|
55
|
+
when: "'nginx' in role_names"
|
|
56
56
|
get_url:
|
|
57
57
|
url: https://raw.githubusercontent.com/certbot/certbot/master/certbot-nginx/certbot_nginx/_internal/tls_configs/options-ssl-nginx.conf
|
|
58
58
|
dest: /etc/letsencrypt/options-ssl-nginx.conf
|
|
59
59
|
|
|
60
60
|
- name: Update apache default options
|
|
61
|
-
when:
|
|
61
|
+
when: "'apache' in role_names"
|
|
62
62
|
get_url:
|
|
63
63
|
url: https://raw.githubusercontent.com/certbot/certbot/master/certbot-apache/certbot_apache/options-ssl-apache.conf
|
|
64
64
|
dest: /etc/letsencrypt/options-ssl-apache.conf
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
|
|
77
77
|
- name: Setup cron job to auto renew
|
|
78
78
|
become: true
|
|
79
|
-
when:
|
|
79
|
+
when: "'apache' in role_names"
|
|
80
80
|
cron:
|
|
81
81
|
name: Auto-renew SSL
|
|
82
82
|
job: "{{certbot_bin}} renew --no-self-upgrade --apache >> /var/log/cron.log 2>&1"
|
|
@@ -86,10 +86,10 @@
|
|
|
86
86
|
|
|
87
87
|
- name: Setup cron job to auto renew
|
|
88
88
|
become: true
|
|
89
|
-
when:
|
|
89
|
+
when: "'nginx' in role_names"
|
|
90
90
|
cron:
|
|
91
91
|
name: Auto-renew SSL
|
|
92
92
|
job: "{{certbot_bin}} renew --no-self-upgrade --nginx >> /var/log/cron.log 2>&1"
|
|
93
93
|
hour: "0"
|
|
94
94
|
minute: "33"
|
|
95
|
-
state: present
|
|
95
|
+
state: present
|
|
@@ -6,8 +6,34 @@
|
|
|
6
6
|
state: present
|
|
7
7
|
with_items:
|
|
8
8
|
- ca-certificates
|
|
9
|
+
|
|
10
|
+
- name: Install certbot-nginx
|
|
11
|
+
become: true
|
|
12
|
+
when: "'nginx' in role_names"
|
|
13
|
+
apt:
|
|
14
|
+
pkg: python3-certbot-nginx
|
|
15
|
+
state: present
|
|
9
16
|
|
|
10
17
|
- name: "Set certbot binary"
|
|
11
18
|
set_fact:
|
|
12
19
|
certbot_bin: "certbot"
|
|
13
20
|
|
|
21
|
+
- name: "Check for certbot-auto"
|
|
22
|
+
stat:
|
|
23
|
+
path: /opt/certbot/certbot-auto
|
|
24
|
+
register: certbot_auto_exists
|
|
25
|
+
|
|
26
|
+
- name: "Remove certbot-auto"
|
|
27
|
+
file:
|
|
28
|
+
path: /opt/certbot/certbot-auto
|
|
29
|
+
state: absent
|
|
30
|
+
when: certbot_auto_exists.stat.exists
|
|
31
|
+
|
|
32
|
+
- name: "Remove certbot-auto cron task"
|
|
33
|
+
cron:
|
|
34
|
+
name: Auto-renew SSL
|
|
35
|
+
job: "{{certbot_bin}} renew --no-self-upgrade --nginx >> /var/log/cron.log 2>&1"
|
|
36
|
+
hour: "0"
|
|
37
|
+
minute: "33"
|
|
38
|
+
state: absent
|
|
39
|
+
when: certbot_auto_exists.stat.exists
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
begin
|
|
2
|
+
# Needed for Puma 5 + puma-damon, but built in to Puma 4
|
|
3
|
+
# https://github.com/kigster/puma-daemon
|
|
4
|
+
require 'puma/daemon'
|
|
5
|
+
rescue => LoadError
|
|
6
|
+
# Puma 4 has `daemonize` built in
|
|
7
|
+
end
|
|
8
|
+
|
|
1
9
|
# Change to match your CPU core count
|
|
2
10
|
workers {{puma_workers}}
|
|
3
11
|
# Min and Max threads per worker
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/lib/subspace/version.rb
CHANGED
data/lib/subspace.rb
CHANGED
|
File without changes
|
data/subspace.gemspec
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -12,9 +12,8 @@
|
|
|
12
12
|
- ruby-common
|
|
13
13
|
- rails
|
|
14
14
|
- puma
|
|
15
|
-
- nginx
|
|
16
15
|
- letsencrypt
|
|
17
|
-
- nginx
|
|
16
|
+
- nginx
|
|
18
17
|
- postgresql
|
|
19
18
|
- monit
|
|
20
19
|
- logrotate
|
|
File without changes
|
|
File without changes
|
data/template/provision.rb.erb
CHANGED
|
File without changes
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: subspace
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.5.
|
|
4
|
+
version: 2.5.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brian Samson
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-11-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -295,7 +295,7 @@ licenses:
|
|
|
295
295
|
- MIT
|
|
296
296
|
metadata:
|
|
297
297
|
allowed_push_host: https://rubygems.org
|
|
298
|
-
post_install_message:
|
|
298
|
+
post_install_message:
|
|
299
299
|
rdoc_options: []
|
|
300
300
|
require_paths:
|
|
301
301
|
- lib
|
|
@@ -310,8 +310,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
310
310
|
- !ruby/object:Gem::Version
|
|
311
311
|
version: '0'
|
|
312
312
|
requirements: []
|
|
313
|
-
rubygems_version: 3.
|
|
314
|
-
signing_key:
|
|
313
|
+
rubygems_version: 3.1.6
|
|
314
|
+
signing_key:
|
|
315
315
|
specification_version: 4
|
|
316
316
|
summary: Ansible-based server provisioning for rails projects
|
|
317
317
|
test_files: []
|