taperole 2.0.7 → 2.1.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.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +1 -1
- data/lib/taperole/version.rb +1 -1
- data/requirements.yml +2 -0
- data/roles/frontend_deploy/tasks/main.yml +7 -12
- data/roles/frontend_install_essentials/meta/main.yml +1 -0
- data/roles/frontend_install_essentials/tasks/main.yml +0 -8
- data/roles/general/meta/main.yml +1 -0
- data/roles/{monit_install → install_monit}/tasks/main.yml +0 -0
- data/roles/{monit_install → install_monit}/templates/monitrc.j2 +0 -0
- data/roles/{monit_install → install_monit}/templates/web_interface.j2 +0 -0
- data/roles/{puma_install → install_puma}/tasks/main.yml +0 -0
- data/roles/{puma_install → install_puma}/templates/puma.production.rb.j2 +0 -0
- data/roles/{puma_install → install_puma}/templates/puma_init.j2 +0 -0
- data/roles/{puma_install → install_puma}/templates/puma_monit.j2 +0 -0
- data/roles/install_yarn/tasks/main.yml +16 -0
- data/roles/ruby/tasks/main.yml +2 -2
- data/roles/whenever/tasks/main.yml +1 -1
- data/templates/base/provision.example.yml +2 -2
- data/templates/base/tape_vars.example.yml +12 -1
- data/test/rails/tape_vars.yml +12 -1
- data/vars/defaults.yml +1 -1
- data/vendor/nickhammond.logrotate/.gitignore +2 -0
- data/vendor/nickhammond.logrotate/.travis.yml +14 -0
- data/vendor/nickhammond.logrotate/LICENSE +27 -0
- data/vendor/nickhammond.logrotate/README.md +109 -0
- data/vendor/nickhammond.logrotate/defaults/main.yml +2 -0
- data/vendor/nickhammond.logrotate/meta/.galaxy_install_info +1 -0
- data/vendor/nickhammond.logrotate/meta/main.yml +18 -0
- data/vendor/nickhammond.logrotate/tasks/main.yml +13 -0
- data/vendor/nickhammond.logrotate/templates/logrotate.d.j2 +23 -0
- data/vendor/nickhammond.logrotate/tests/Vagrantfile +18 -0
- data/vendor/nickhammond.logrotate/tests/inventory +1 -0
- data/vendor/nickhammond.logrotate/tests/test.yml +29 -0
- metadata +23 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b5d7c99c8d3261b7fd7a4a595d1551d7daa6924a
|
|
4
|
+
data.tar.gz: 0476cbf2bc8f9317629a1acd82fab0d4e03bee7f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 82bf6a576ef91129a8433f3567dd7dfe6d690ba5eb96f2afe357b9d5352a6e9ce5b42989bd3382d3952980d1a671282d485411e8587ed70ec49707e3ab6b6749
|
|
7
|
+
data.tar.gz: f23922c737719931053afb7d2487264013838a397db493b0016b1528a0351b0eeb9c1c205bde26aabaf313051bde30b7d7161a5d7762a9e09fc18e462ff81a1d
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -43,7 +43,7 @@ tape installer install
|
|
|
43
43
|
|
|
44
44
|
All default configurations found in `vars/defaults.yml` can be overridden in your local `taperole/tape_vars.yml` file
|
|
45
45
|
|
|
46
|
-
**Default Node Version**:
|
|
46
|
+
**Default Node Version**: 8.x
|
|
47
47
|
**Default Ruby Version** 2.4.0
|
|
48
48
|
|
|
49
49
|
### Backups
|
data/lib/taperole/version.rb
CHANGED
data/requirements.yml
CHANGED
|
@@ -29,23 +29,18 @@
|
|
|
29
29
|
register: npm_result
|
|
30
30
|
ignore_errors: true
|
|
31
31
|
|
|
32
|
-
- name: NPM install
|
|
33
|
-
when: fe_app_repo is defined and npm_result|success
|
|
34
|
-
remote_user: "{{ deployer_user.name }}"
|
|
35
|
-
command: chdir={{ fe_app_path }}
|
|
36
|
-
bash -lc 'npm install'
|
|
37
32
|
|
|
38
|
-
- name: Detect
|
|
33
|
+
- name: Detect yarn.lock
|
|
39
34
|
command: chdir={{ fe_app_path }}
|
|
40
|
-
bash -lc 'test -e
|
|
41
|
-
register:
|
|
35
|
+
bash -lc 'test -e yarn.lock'
|
|
36
|
+
register: yarn_result
|
|
42
37
|
ignore_errors: true
|
|
43
38
|
|
|
44
|
-
- name:
|
|
45
|
-
when: fe_app_repo is defined and
|
|
39
|
+
- name: YARN install
|
|
40
|
+
when: fe_app_repo is defined and npm_result|success and yarn_result|success
|
|
46
41
|
remote_user: "{{ deployer_user.name }}"
|
|
47
|
-
command: chdir={{ fe_app_path }}
|
|
48
|
-
bash -lc '
|
|
42
|
+
command: chdir={{ fe_app_path }}
|
|
43
|
+
bash -lc 'yarn install'
|
|
49
44
|
|
|
50
45
|
- name: Build FE
|
|
51
46
|
when: fe_app_repo is defined
|
|
@@ -1,11 +1,3 @@
|
|
|
1
1
|
- name: Register npm executable
|
|
2
2
|
command: bash -lc "which npm"
|
|
3
3
|
register: npm_path
|
|
4
|
-
|
|
5
|
-
- name: Ensure gulp is installed
|
|
6
|
-
npm: name=gulp state=present global=yes executable="{{npm_path.stdout}}"
|
|
7
|
-
when: fe_app_repo is defined
|
|
8
|
-
|
|
9
|
-
- name: Ensure bower is installed
|
|
10
|
-
npm: name=bower state=present global=yes executable="{{npm_path.stdout}}"
|
|
11
|
-
when: fe_app_repo is defined
|
data/roles/general/meta/main.yml
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
- name: Import the yarn GPG key into apt
|
|
3
|
+
apt_key:
|
|
4
|
+
url: https://dl.yarnpkg.com/debian/pubkey.gpg
|
|
5
|
+
state: present
|
|
6
|
+
|
|
7
|
+
- name: Add yarn package deb repository
|
|
8
|
+
apt_repository:
|
|
9
|
+
repo: 'deb https://dl.yarnpkg.com/debian/ stable main'
|
|
10
|
+
state: present
|
|
11
|
+
|
|
12
|
+
- name: Install yarn
|
|
13
|
+
apt:
|
|
14
|
+
pkg: yarn
|
|
15
|
+
state: installed
|
|
16
|
+
update_cache: yes
|
data/roles/ruby/tasks/main.yml
CHANGED
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
register: ruby_installed
|
|
69
69
|
changed_when: false
|
|
70
70
|
ignore_errors: yes
|
|
71
|
-
|
|
71
|
+
check_mode: no
|
|
72
72
|
when: rbenv.env == "system"
|
|
73
73
|
|
|
74
74
|
- name: install ruby {{ rbenv.ruby_version }} for system
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
register: ruby_selected
|
|
83
83
|
changed_when: false
|
|
84
84
|
ignore_errors: yes
|
|
85
|
-
|
|
85
|
+
check_mode: no
|
|
86
86
|
when: rbenv.env == "system"
|
|
87
87
|
|
|
88
88
|
- name: set ruby {{ rbenv.ruby_version }} for system
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
- ufw
|
|
27
27
|
- deployer_user
|
|
28
28
|
- dev_keys
|
|
29
|
-
-
|
|
29
|
+
- install_monit
|
|
30
30
|
- postgres
|
|
31
31
|
- letsencrypt
|
|
32
32
|
- nginx
|
|
33
33
|
- backend_install_essentials
|
|
34
34
|
- frontend_install_essentials
|
|
35
35
|
- backend_checkout
|
|
36
|
-
-
|
|
36
|
+
- install_puma
|
|
37
37
|
- backend_config
|
|
38
38
|
- database_load
|
|
39
39
|
- puma_activate
|
|
@@ -12,10 +12,21 @@ be_app_repo:
|
|
|
12
12
|
# Uncomment if you want to deploy a JS/HTML App
|
|
13
13
|
# fe_app_repo:
|
|
14
14
|
# fe_app_branch: master
|
|
15
|
-
# fe_build_command:
|
|
15
|
+
# fe_build_command: yarn run build:production
|
|
16
16
|
|
|
17
17
|
slack_webhook_url:
|
|
18
18
|
|
|
19
|
+
logrotate_scripts:
|
|
20
|
+
- name: rails
|
|
21
|
+
path: "{{be_app_path}}/log/*.log"
|
|
22
|
+
options:
|
|
23
|
+
- daily
|
|
24
|
+
- rotate 30
|
|
25
|
+
- missingok
|
|
26
|
+
- compress
|
|
27
|
+
- delaycompress
|
|
28
|
+
- copytruncate
|
|
29
|
+
|
|
19
30
|
## Configure Postgresql Backups
|
|
20
31
|
## Uncomment the following to enabled backups
|
|
21
32
|
#
|
data/test/rails/tape_vars.yml
CHANGED
|
@@ -12,6 +12,17 @@ be_app_repo: https://github.com/BrandonMathis/vanilla-rails-app.git
|
|
|
12
12
|
# Uncomment if you want to deploy a JS/HTML App
|
|
13
13
|
# fe_app_repo:
|
|
14
14
|
# fe_app_branch: master
|
|
15
|
-
# fe_build_command:
|
|
15
|
+
# fe_build_command: yarn run build:production
|
|
16
16
|
|
|
17
17
|
slack_webhook_url:
|
|
18
|
+
|
|
19
|
+
logrotate_scripts:
|
|
20
|
+
- name: rails
|
|
21
|
+
path: "{{be_app_path}}/log/*.log"
|
|
22
|
+
options:
|
|
23
|
+
- daily
|
|
24
|
+
- rotate 30
|
|
25
|
+
- missingok
|
|
26
|
+
- compress
|
|
27
|
+
- delaycompress
|
|
28
|
+
- copytruncate
|
data/vars/defaults.yml
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
- "printf '[defaults]\nroles_path = ../' > ansible.cfg"
|
|
11
|
+
- ansible-playbook -i tests/inventory --syntax-check tests/test.yml
|
|
12
|
+
- ansible-playbook -i tests/inventory --connection=local --become -vvvv tests/test.yml
|
|
13
|
+
notifications:
|
|
14
|
+
email: false
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Copyright (c) 2016-14, Nick Hammond
|
|
2
|
+
All rights reserved.
|
|
3
|
+
|
|
4
|
+
Redistribution and use in source and binary forms, with or without
|
|
5
|
+
modification, are permitted provided that the following conditions are met:
|
|
6
|
+
|
|
7
|
+
* Redistributions of source code must retain the above copyright notice, this
|
|
8
|
+
list of conditions and the following disclaimer.
|
|
9
|
+
|
|
10
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
11
|
+
this list of conditions and the following disclaimer in the documentation
|
|
12
|
+
and/or other materials provided with the distribution.
|
|
13
|
+
|
|
14
|
+
* Neither the name of ansiblebit nor the names of its
|
|
15
|
+
contributors may be used to endorse or promote products derived from
|
|
16
|
+
this software without specific prior written permission.
|
|
17
|
+
|
|
18
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
19
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
20
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
21
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
22
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
23
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
24
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
25
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
26
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
27
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# logrotate
|
|
2
|
+
|
|
3
|
+
[](https://travis-ci.org/nickhammond/ansible-logrotate)
|
|
4
|
+
|
|
5
|
+
Installs logrotate and provides an easy way to setup additional logrotate scripts by
|
|
6
|
+
specifying a list of directives.
|
|
7
|
+
|
|
8
|
+
## Requirements
|
|
9
|
+
|
|
10
|
+
None
|
|
11
|
+
|
|
12
|
+
## Role Variables
|
|
13
|
+
|
|
14
|
+
**logrotate_scripts**: A list of logrotate scripts and the directives to use for the rotation.
|
|
15
|
+
|
|
16
|
+
* name - The name of the script that goes into /etc/logrotate.d/
|
|
17
|
+
* path - Path to point logrotate to for the log rotation
|
|
18
|
+
* paths - A list of paths to point logrotate to for the log rotation.
|
|
19
|
+
* options - List of directives for logrotate, view the logrotate man page for specifics
|
|
20
|
+
* scripts - Dict of scripts for logrotate (see Example below)
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
logrotate_scripts:
|
|
24
|
+
- name: rails
|
|
25
|
+
path: "/srv/current/log/*.log"
|
|
26
|
+
options:
|
|
27
|
+
- weekly
|
|
28
|
+
- size 25M
|
|
29
|
+
- missingok
|
|
30
|
+
- compress
|
|
31
|
+
- delaycompress
|
|
32
|
+
- copytruncate
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
logrotate_scripts:
|
|
37
|
+
- name: rails
|
|
38
|
+
paths:
|
|
39
|
+
- "/srv/current/scare.log"
|
|
40
|
+
- "/srv/current/hide.log"
|
|
41
|
+
options:
|
|
42
|
+
- weekly
|
|
43
|
+
- size 25M
|
|
44
|
+
- missingok
|
|
45
|
+
- compress
|
|
46
|
+
- delaycompress
|
|
47
|
+
- copytruncate
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Dependencies
|
|
51
|
+
|
|
52
|
+
None
|
|
53
|
+
|
|
54
|
+
## Example Playbook
|
|
55
|
+
|
|
56
|
+
Setting up logrotate for additional Nginx logs, with postrotate script.
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
- hosts: all
|
|
60
|
+
vars:
|
|
61
|
+
logrotate_scripts:
|
|
62
|
+
- name: nginx-options
|
|
63
|
+
path: /var/log/nginx/options.log
|
|
64
|
+
options:
|
|
65
|
+
- daily
|
|
66
|
+
- weekly
|
|
67
|
+
- size 25M
|
|
68
|
+
- rotate 7
|
|
69
|
+
- missingok
|
|
70
|
+
- compress
|
|
71
|
+
- delaycompress
|
|
72
|
+
- copytruncate
|
|
73
|
+
|
|
74
|
+
- name: nginx-scripts
|
|
75
|
+
path: /var/log/nginx/scripts.log
|
|
76
|
+
options:
|
|
77
|
+
- daily
|
|
78
|
+
- weekly
|
|
79
|
+
- size 25M
|
|
80
|
+
scripts:
|
|
81
|
+
postrotate: "echo test"
|
|
82
|
+
|
|
83
|
+
roles:
|
|
84
|
+
- ansible-logrotate
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Testing locally
|
|
88
|
+
|
|
89
|
+
This role is already configured to run on travis CI within a test playbook but it's useful to be able to run and debug a role locally which can be done via Vagrant and the `ansible_local` provisioner.
|
|
90
|
+
|
|
91
|
+
To run the test playbook locally within a Vagrant virtual machine:
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
cd tests
|
|
95
|
+
vagrant up --provision
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
## License
|
|
99
|
+
|
|
100
|
+
[BSD](https://raw.githubusercontent.com/nickhammond/logrotate/master/LICENSE)
|
|
101
|
+
|
|
102
|
+
## Author Information
|
|
103
|
+
|
|
104
|
+
* [nickhammond](https://github.com/nickhammond) | [www](http://www.nickhammond.com) | [twitter](http://twitter.com/nickhammond)
|
|
105
|
+
* [bigjust](https://github.com/bigjust)
|
|
106
|
+
* [steenzout](https://github.com/steenzout)
|
|
107
|
+
* [jeancornic](https://github.com/jeancornic)
|
|
108
|
+
* [duhast](https://github.com/duhast)
|
|
109
|
+
* [kagux](https://github.com/kagux)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{install_date: 'Tue Jul 24 15:32:02 2018', version: master}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
galaxy_info:
|
|
3
|
+
author: Nick Hammond
|
|
4
|
+
description: Role to configure logrotate scripts
|
|
5
|
+
license: BSD
|
|
6
|
+
min_ansible_version: 1.9
|
|
7
|
+
platforms:
|
|
8
|
+
- name: Ubuntu
|
|
9
|
+
versions:
|
|
10
|
+
- lucid
|
|
11
|
+
- precise
|
|
12
|
+
- trusty
|
|
13
|
+
- name: EL
|
|
14
|
+
versions:
|
|
15
|
+
- 7
|
|
16
|
+
categories:
|
|
17
|
+
- system
|
|
18
|
+
dependencies: []
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
- name: nickhammond.logrotate | Install logrotate
|
|
3
|
+
package:
|
|
4
|
+
name: logrotate
|
|
5
|
+
state: present
|
|
6
|
+
when: logrotate_scripts is defined and logrotate_scripts|length > 0
|
|
7
|
+
|
|
8
|
+
- name: nickhammond.logrotate | Setup logrotate.d scripts
|
|
9
|
+
template:
|
|
10
|
+
src: logrotate.d.j2
|
|
11
|
+
dest: "{{ logrotate_conf_dir }}{{ item.name }}"
|
|
12
|
+
with_items: "{{ logrotate_scripts }}"
|
|
13
|
+
when: logrotate_scripts is defined
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# {{ ansible_managed }}
|
|
2
|
+
|
|
3
|
+
{% if 'path' in item %}
|
|
4
|
+
"{{ item.path }}"
|
|
5
|
+
{% elif 'paths' in item %}
|
|
6
|
+
{% for path in item.paths %}
|
|
7
|
+
"{{ path }}"
|
|
8
|
+
{% endfor %}
|
|
9
|
+
{% endif %}
|
|
10
|
+
{
|
|
11
|
+
{% if item.options is defined -%}
|
|
12
|
+
{% for option in item.options -%}
|
|
13
|
+
{{ option }}
|
|
14
|
+
{% endfor -%}
|
|
15
|
+
{% endif %}
|
|
16
|
+
{%- if item.scripts is defined -%}
|
|
17
|
+
{%- for name, script in item.scripts.items() -%}
|
|
18
|
+
{{ name }}
|
|
19
|
+
{{ script }}
|
|
20
|
+
endscript
|
|
21
|
+
{% endfor -%}
|
|
22
|
+
{% endif -%}
|
|
23
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# -*- mode: ruby -*-
|
|
2
|
+
# vi: set ft=ruby :
|
|
3
|
+
@ansible_home = "/home/vagrant/.ansible"
|
|
4
|
+
|
|
5
|
+
Vagrant.configure("2") do |config|
|
|
6
|
+
config.vm.box = "ubuntu/trusty64"
|
|
7
|
+
|
|
8
|
+
# Copy the Ansible playbook over to the guest machine, run rsync-auto to automatically
|
|
9
|
+
# pull in the latest changes while a VM is running.
|
|
10
|
+
config.vm.synced_folder "../", "#{@ansible_home}/roles/ansible-logrotate", type: 'rsync'
|
|
11
|
+
|
|
12
|
+
# The working ansible directory created by ansible_local is owned by root
|
|
13
|
+
config.vm.provision "shell", inline: "chown vagrant:vagrant #{@ansible_home}"
|
|
14
|
+
|
|
15
|
+
config.vm.provision "ansible_local" do |ansible|
|
|
16
|
+
ansible.playbook = "test.yml"
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
localhost
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
- hosts: all
|
|
3
|
+
become: True
|
|
4
|
+
vars:
|
|
5
|
+
logrotate_scripts:
|
|
6
|
+
- name: nginx-options
|
|
7
|
+
path: /var/log/nginx/options.log
|
|
8
|
+
options:
|
|
9
|
+
- daily
|
|
10
|
+
|
|
11
|
+
- name: nginx-scripts
|
|
12
|
+
path: /var/log/nginx/scripts.log
|
|
13
|
+
scripts:
|
|
14
|
+
postrotate: "echo test"
|
|
15
|
+
|
|
16
|
+
- name: multiple-paths
|
|
17
|
+
paths:
|
|
18
|
+
- /var/log/nginx/options.log
|
|
19
|
+
- /var/log/nginx/scripts.log
|
|
20
|
+
|
|
21
|
+
roles:
|
|
22
|
+
- ansible-logrotate
|
|
23
|
+
|
|
24
|
+
tasks:
|
|
25
|
+
- name: Verify logrotate config check passes
|
|
26
|
+
shell: logrotate -d "{{ logrotate_conf_dir }}{{ item.name }}"
|
|
27
|
+
with_items: "{{ logrotate_scripts }}"
|
|
28
|
+
register: logrotate_tests
|
|
29
|
+
failed_when: "'error' in logrotate_tests.stderr"
|
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
|
+
version: 2.1.0
|
|
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:
|
|
13
|
+
date: 2018-07-24 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: slack-notifier
|
|
@@ -159,11 +159,16 @@ files:
|
|
|
159
159
|
- roles/general/tasks/main.yml
|
|
160
160
|
- roles/general/tasks/swapfile.yml
|
|
161
161
|
- roles/imagemagick/tasks/main.yml
|
|
162
|
+
- roles/install_monit/tasks/main.yml
|
|
163
|
+
- roles/install_monit/templates/monitrc.j2
|
|
164
|
+
- roles/install_monit/templates/web_interface.j2
|
|
165
|
+
- roles/install_puma/tasks/main.yml
|
|
166
|
+
- roles/install_puma/templates/puma.production.rb.j2
|
|
167
|
+
- roles/install_puma/templates/puma_init.j2
|
|
168
|
+
- roles/install_puma/templates/puma_monit.j2
|
|
169
|
+
- roles/install_yarn/tasks/main.yml
|
|
162
170
|
- roles/letsencrypt/tasks/main.yml
|
|
163
171
|
- roles/monit_activate/tasks/main.yml
|
|
164
|
-
- roles/monit_install/tasks/main.yml
|
|
165
|
-
- roles/monit_install/templates/monitrc.j2
|
|
166
|
-
- roles/monit_install/templates/web_interface.j2
|
|
167
172
|
- roles/nginx/handlers/main.yml
|
|
168
173
|
- roles/nginx/tasks/main.yml
|
|
169
174
|
- roles/nginx/templates/nginx.conf.j2
|
|
@@ -172,10 +177,6 @@ files:
|
|
|
172
177
|
- roles/node/tasks/main.yml
|
|
173
178
|
- roles/postgres/meta/main.yml
|
|
174
179
|
- roles/puma_activate/tasks/main.yml
|
|
175
|
-
- roles/puma_install/tasks/main.yml
|
|
176
|
-
- roles/puma_install/templates/puma.production.rb.j2
|
|
177
|
-
- roles/puma_install/templates/puma_init.j2
|
|
178
|
-
- roles/puma_install/templates/puma_monit.j2
|
|
179
180
|
- roles/redis/meta/main.yml
|
|
180
181
|
- roles/redis/tasks/main.yml
|
|
181
182
|
- roles/redis/templates/rc.local.j2
|
|
@@ -330,6 +331,18 @@ files:
|
|
|
330
331
|
- vendor/lxhunter.apt/test.yml
|
|
331
332
|
- vendor/lxhunter.apt/test/integration/default/bats/simple.bats
|
|
332
333
|
- vendor/lxhunter.apt/test/integration/default/default.yml
|
|
334
|
+
- vendor/nickhammond.logrotate/.gitignore
|
|
335
|
+
- vendor/nickhammond.logrotate/.travis.yml
|
|
336
|
+
- vendor/nickhammond.logrotate/LICENSE
|
|
337
|
+
- vendor/nickhammond.logrotate/README.md
|
|
338
|
+
- vendor/nickhammond.logrotate/defaults/main.yml
|
|
339
|
+
- vendor/nickhammond.logrotate/meta/.galaxy_install_info
|
|
340
|
+
- vendor/nickhammond.logrotate/meta/main.yml
|
|
341
|
+
- vendor/nickhammond.logrotate/tasks/main.yml
|
|
342
|
+
- vendor/nickhammond.logrotate/templates/logrotate.d.j2
|
|
343
|
+
- vendor/nickhammond.logrotate/tests/Vagrantfile
|
|
344
|
+
- vendor/nickhammond.logrotate/tests/inventory
|
|
345
|
+
- vendor/nickhammond.logrotate/tests/test.yml
|
|
333
346
|
- vendor/tersmitten.htop/.gitignore
|
|
334
347
|
- vendor/tersmitten.htop/.travis.yml
|
|
335
348
|
- vendor/tersmitten.htop/LICENSE.txt
|
|
@@ -366,7 +379,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
366
379
|
version: '0'
|
|
367
380
|
requirements: []
|
|
368
381
|
rubyforge_project:
|
|
369
|
-
rubygems_version: 2.
|
|
382
|
+
rubygems_version: 2.5.1
|
|
370
383
|
signing_key:
|
|
371
384
|
specification_version: 4
|
|
372
385
|
summary: A tool for provisioning and deploying boxes for hosting Rails apps
|