taperole 1.8.1 → 1.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/Gemfile.lock +1 -1
- data/lib/taperole/version.rb +1 -1
- data/roles/redis/tasks/main.yml +12 -0
- data/vars/defaults.yml +5 -1
- metadata +2 -3
- data/roles/redis/templates/thp_enabled.j2 +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6fb94b321ee9685d1052e1d8becd66a431699336
|
4
|
+
data.tar.gz: 481618d523effa7b4d01bded643964183bd27115
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76e61eec385c1afbeb1d0423387dea454acb650f7a37b185bc9e763bc762da60251bdc9b841a659760366778d49d9d69ac231311e64ce44d0d31cfdfe135a32d
|
7
|
+
data.tar.gz: d9f0fc10aab2fadd5c6bfa3c55fabf52a9110bf0fd4b2c134af8f51f4855c2b70543447bc623d54e79ae6504f944f043d7b78b5ec27e67c9ba15b79c274967e5
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/taperole/version.rb
CHANGED
data/roles/redis/tasks/main.yml
CHANGED
@@ -16,6 +16,18 @@
|
|
16
16
|
reload: true
|
17
17
|
state: present
|
18
18
|
|
19
|
+
- name: Disbale transparent_hugepage
|
20
|
+
command: bash -lc 'echo never > /sys/kernel/mm/transparent_hugepage/enabled'
|
21
|
+
|
22
|
+
- name: Disable transparent_hugepage in grub
|
23
|
+
lineinfile:
|
24
|
+
dest: /etc/default/grub
|
25
|
+
regexp: '^GRUB_CMDLINE_LINUX'
|
26
|
+
line: 'GRUB_CMDLINE_LINUX="transparent_hugepage=never"'
|
27
|
+
|
28
|
+
- name: Update Grub
|
29
|
+
command: 'update-grub'
|
30
|
+
|
19
31
|
- name: Register with monit
|
20
32
|
template: src=redis.j2
|
21
33
|
dest=/etc/monit/conf.d/redis
|
data/vars/defaults.yml
CHANGED
@@ -37,7 +37,7 @@ allowed_ports:
|
|
37
37
|
- 80
|
38
38
|
- 443
|
39
39
|
|
40
|
-
nodejs_version: "
|
40
|
+
nodejs_version: "6.x"
|
41
41
|
|
42
42
|
no_changes_found_error: |
|
43
43
|
‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️ ‼️
|
@@ -74,6 +74,10 @@ rbenv:
|
|
74
74
|
rbenv_group: root
|
75
75
|
|
76
76
|
# Redis
|
77
|
+
# Disable transparent hugepage in redis because it causes memory leak issues
|
78
|
+
# This change does not persist on server reboot. We have to modify /etc/default/grub
|
79
|
+
# for a changes to take full effect.
|
80
|
+
# Check out roles/redis/tasks/main.yml
|
77
81
|
sysfs_sysfs_d_files:
|
78
82
|
001-transparent-hugepage.conf:
|
79
83
|
- attribute: kernel/mm/transparent_hugepage/enabled
|
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: 1.8.
|
4
|
+
version: 1.8.2
|
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-03-
|
13
|
+
date: 2017-03-08 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: slack-notifier
|
@@ -160,7 +160,6 @@ files:
|
|
160
160
|
- roles/redis/tasks/main.yml
|
161
161
|
- roles/redis/templates/rc.local.j2
|
162
162
|
- roles/redis/templates/redis.j2
|
163
|
-
- roles/redis/templates/thp_enabled.j2
|
164
163
|
- roles/ruby/defaults/main.yml
|
165
164
|
- roles/ruby/files/gemrc
|
166
165
|
- roles/ruby/files/vars
|
@@ -1 +0,0 @@
|
|
1
|
-
never
|