subspace 0.4.10 → 0.4.11

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: da9c8349904e402f951a13073564fba484c72c43
4
- data.tar.gz: b3873ceb31822e3e6be00b7deca65ada8e9a4d88
3
+ metadata.gz: a4233f9ea5bf7ba7bde4e47d04327fd2551af7a6
4
+ data.tar.gz: ec62afca667788e4a95c6c855f8a6e34b64e6cd0
5
5
  SHA512:
6
- metadata.gz: 0a89673110f47339dc335006432733722e89059595fac30b4d6ed9e60529a4b042200f8982e0b44bbe98696bf3847f5e97ecf7620823f52d583f8b31ae55edf9
7
- data.tar.gz: 15c1bcf8aaea958260d956e56d2fe936279b790e1ead30f2a17711e78481e5d51a5aad871e59d7fb31aab79c7fdaaad5c28086cbe2a31bba77c5d3f3ba8c32f0
6
+ metadata.gz: c5bd1ad8486199a50244edda4a9830af81d91fb6b6c01791948918976c27ed1f2cf686941d90d2664d6f99cf7384cad120598f38e3b270918155181ef137cffd
7
+ data.tar.gz: 613d808a2a064affe9c075d01182f44ccc2ffd4f6101b9ce017bde618b41a8d008eb9b977fdbeaaf8b7bfc46801cc17568069f59f8d29fb966396ed88d1c314d
@@ -0,0 +1,10 @@
1
+ ---
2
+ - name: Install pip
3
+ apt:
4
+ pkg: python-pip
5
+ state: latest
6
+ become: true
7
+
8
+ - name: Install awscli
9
+ pip:
10
+ name: awscli
@@ -57,6 +57,13 @@
57
57
  notify: restart collectd
58
58
  when: puma_installed is defined
59
59
 
60
+ - name: create nodejs config
61
+ template:
62
+ src: nodejs-process.conf
63
+ dest: /etc/collectd/collectd.conf.d/nodejs-process.conf
64
+ sudo: true
65
+ notify: restart collectd
66
+
60
67
  - name: create nginx config
61
68
  template:
62
69
  src: nginx.conf
@@ -0,0 +1,3 @@
1
+ <Plugin processes>
2
+ ProcessMatch nodejs "nodejs"
3
+ </Plugin>
@@ -4,7 +4,7 @@ This server brought to you by:
4
4
  \___ \| | | | '_ \___ \| '_ \ / _` |/ __/ _ \
5
5
  ___) | |_| | |_) |__) | |_) | (_| | (_| __/
6
6
  |____/ \__,_|_.__/____/| .__/ \__,_|\___\___|
7
- |_| v0.4.10
7
+ |_| v0.4.11
8
8
  ~~~ https://github.com/tenforwardconsulting/subspace ~~~
9
9
 
10
10
  If you need to make configuration changes to the server, please modify the
@@ -76,9 +76,20 @@
76
76
 
77
77
  - name: Setup cron job to auto renew
78
78
  become: true
79
+ when: "'apache' in role_names"
80
+ cron:
81
+ name: Auto-renew SSL
82
+ job: "{{certbot_dir}}/certbot-auto renew --quiet --no-self-upgrade --apache"
83
+ hour: 0
84
+ minute: 33
85
+ state: present
86
+
87
+ - name: Setup cron job to auto renew
88
+ become: true
89
+ when: "'nginx' in role_names"
79
90
  cron:
80
91
  name: Auto-renew SSL
81
- job: "{{certbot_dir}}/certbot-auto renew --quiet --no-self-upgrade"
92
+ job: "{{certbot_dir}}/certbot-auto renew --quiet --no-self-upgrade --nginx"
82
93
  hour: 0
83
94
  minute: 33
84
95
  state: present
@@ -0,0 +1,2 @@
1
+ ---
2
+ redis_bind: 127.0.0.1
@@ -5,3 +5,10 @@
5
5
  pkg: redis-server
6
6
  state: present
7
7
  update_cache: true
8
+ - name: Set bind IP
9
+ become: true
10
+ lineinfile:
11
+ name: /etc/redis/redis.conf
12
+ regexp: '^bind '
13
+ line: 'bind {{redis_bind}}'
14
+ state: present
@@ -1,3 +1,3 @@
1
1
  module Subspace
2
- VERSION = "0.4.10"
2
+ VERSION = "0.4.11"
3
3
  end
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: 0.4.10
4
+ version: 0.4.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Samson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-22 00:00:00.000000000 Z
11
+ date: 2018-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -109,6 +109,7 @@ files:
109
109
  - ansible/roles/apache/handlers/main.yml
110
110
  - ansible/roles/apache/tasks/main.yml
111
111
  - ansible/roles/apache/templates/server_status.conf
112
+ - ansible/roles/awscli/tasks/main.yml
112
113
  - ansible/roles/collectd/defaults/main.yml
113
114
  - ansible/roles/collectd/handlers/main.yml
114
115
  - ansible/roles/collectd/tasks/main.yml
@@ -118,6 +119,7 @@ files:
118
119
  - ansible/roles/collectd/templates/graphite.conf
119
120
  - ansible/roles/collectd/templates/hostname.conf
120
121
  - ansible/roles/collectd/templates/nginx.conf
122
+ - ansible/roles/collectd/templates/nodejs-process.conf
121
123
  - ansible/roles/collectd/templates/puma-process.conf
122
124
  - ansible/roles/collectd/templates/rails_lograge.conf
123
125
  - ansible/roles/common/defaults/main.yml
@@ -206,6 +208,7 @@ files:
206
208
  - ansible/roles/rails/tasks/main.yml
207
209
  - ansible/roles/rails/templates/application.yml
208
210
  - ansible/roles/rails/templates/database.yml
211
+ - ansible/roles/redis/defaults/main.yml
209
212
  - ansible/roles/redis/tasks/main.yml
210
213
  - ansible/roles/ruby-common/README.md
211
214
  - ansible/roles/ruby-common/defaults/main.yml