taperole 1.7.1 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/README.md +4 -4
- data/Vagrantfile +2 -2
- data/lib/taperole/commands/ansible.rb +5 -1
- data/lib/taperole/core/ansible_runner.rb +12 -1
- data/lib/taperole/version.rb +1 -1
- data/roles/backend_checkout/tasks/main.yml +0 -6
- data/roles/backend_config/tasks/main.yml +0 -4
- data/roles/backend_install_essentials/tasks/main.yml +0 -7
- data/roles/database_load/defaults/main.yml +0 -1
- data/roles/database_load/tasks/db_reset.yml +8 -5
- data/roles/database_load/tasks/main.yml +0 -2
- data/roles/delayed_job/tasks/main.yml +0 -2
- data/roles/deployer_user/tasks/keys.yml +0 -7
- data/roles/dev_keys/tasks/main.yml +6 -0
- data/roles/frontend_deploy/tasks/main.yml +0 -9
- data/roles/general/tasks/main.yml +0 -3
- data/roles/imagemagick/tasks/main.yml +6 -0
- data/roles/nginx/tasks/main.yml +4 -12
- data/roles/ruby/tasks/apt_build_depends.yml +0 -4
- data/roles/ruby/tasks/main.yml +0 -20
- data/roles/sidekiq/tasks/main.yml +0 -2
- data/roles/unicorn_activate/tasks/main.yml +0 -4
- data/roles/whenever/tasks/main.yml +4 -0
- data/templates/base/deploy.example.yml +2 -1
- data/templates/base/omnibox.example.yml +3 -0
- data/vendor/ANXS.postgresql/meta/.galaxy_install_info +1 -1
- data/vendor/ANXS.postgresql/tasks/extensions/postgis.yml +1 -1
- data/vendor/ANXS.postgresql/tasks/install_yum.yml +1 -0
- data/vendor/ANXS.postgresql/templates/HOWTO.postgresql.conf +1 -0
- data/vendor/ANXS.postgresql/templates/etc_monit_conf.d_postgresql.j2 +1 -0
- data/vendor/ANXS.postgresql/templates/pg_hba.conf.j2 +1 -0
- data/vendor/ANXS.postgresql/templates/postgresql.conf-9.1.j2 +1 -0
- data/vendor/ANXS.postgresql/templates/postgresql.conf-9.1.orig +557 -0
- data/vendor/ANXS.postgresql/templates/postgresql.conf-9.2.j2 +1 -0
- data/vendor/ANXS.postgresql/templates/postgresql.conf-9.2.orig +574 -0
- data/vendor/ANXS.postgresql/templates/postgresql.conf-9.3.j2 +1 -0
- data/vendor/ANXS.postgresql/templates/postgresql.conf-9.3.orig +596 -0
- data/vendor/ANXS.postgresql/templates/postgresql.conf-9.4.j2 +1 -0
- data/vendor/ANXS.postgresql/templates/postgresql.conf-9.4.orig +614 -0
- data/vendor/ANXS.postgresql/templates/postgresql.conf-9.5.j2 +1 -0
- data/vendor/ANXS.postgresql/templates/postgresql.conf-9.5.orig +630 -0
- data/vendor/Stouts.backup/meta/.galaxy_install_info +1 -1
- data/vendor/geerlingguy.memcached/meta/.galaxy_install_info +1 -1
- data/vendor/jnv.unattended-upgrades/meta/.galaxy_install_info +1 -1
- data/vendor/lxhunter.apt/meta/.galaxy_install_info +1 -1
- data/vendor/tersmitten.htop/.gitignore +1 -0
- data/vendor/tersmitten.htop/.travis.yml +23 -18
- data/vendor/tersmitten.htop/README.md +1 -1
- data/vendor/tersmitten.htop/Vagrantfile +13 -21
- data/vendor/tersmitten.htop/defaults/main.yml +1 -1
- data/vendor/tersmitten.htop/handlers/main.yml +1 -1
- data/vendor/tersmitten.htop/meta/.galaxy_install_info +1 -1
- data/vendor/tersmitten.htop/meta/main.yml +13 -10
- data/vendor/tersmitten.htop/tasks/main.yml +19 -9
- data/vendor/tersmitten.htop/tests/test.yml +4 -3
- data/vendor/tersmitten.htop/tests/vagrant.yml +2 -2
- data/vendor/tersmitten.htop/vars/main.yml +3 -1
- metadata +10 -2
@@ -1,9 +1,27 @@
|
|
1
1
|
---
|
2
|
+
sudo: required
|
3
|
+
dist: trusty
|
4
|
+
|
2
5
|
language: python
|
3
6
|
python: "2.7"
|
4
7
|
|
5
8
|
env:
|
6
9
|
- ANSIBLE_VERSION=latest
|
10
|
+
- ANSIBLE_VERSION=2.2.0.0
|
11
|
+
- ANSIBLE_VERSION=2.1.3
|
12
|
+
- ANSIBLE_VERSION=2.1.2
|
13
|
+
- ANSIBLE_VERSION=2.1.1.0
|
14
|
+
- ANSIBLE_VERSION=2.1.0.0
|
15
|
+
- ANSIBLE_VERSION=2.0.2.0
|
16
|
+
- ANSIBLE_VERSION=2.0.1.0
|
17
|
+
- ANSIBLE_VERSION=2.0.0.2
|
18
|
+
- ANSIBLE_VERSION=2.0.0.1
|
19
|
+
- ANSIBLE_VERSION=2.0.0.0
|
20
|
+
- 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
|
7
25
|
- ANSIBLE_VERSION=1.9.1
|
8
26
|
- ANSIBLE_VERSION=1.9.0.1
|
9
27
|
- ANSIBLE_VERSION=1.8.4
|
@@ -25,45 +43,31 @@ env:
|
|
25
43
|
- ANSIBLE_VERSION=1.6.10
|
26
44
|
- ANSIBLE_VERSION=1.6.1
|
27
45
|
- ANSIBLE_VERSION=1.6
|
28
|
-
- ANSIBLE_VERSION=1.5.5
|
29
|
-
- ANSIBLE_VERSION=1.5.4
|
30
|
-
- ANSIBLE_VERSION=1.5.3
|
31
|
-
- ANSIBLE_VERSION=1.5.2
|
32
|
-
- ANSIBLE_VERSION=1.5.1
|
33
|
-
- ANSIBLE_VERSION=1.5
|
34
46
|
|
35
47
|
branches:
|
36
48
|
only:
|
37
49
|
- master
|
38
50
|
|
39
|
-
matrix:
|
40
|
-
allow_failures:
|
41
|
-
# See https://github.com/ansible/ansible/issues/6385
|
42
|
-
- env: ANSIBLE_VERSION=1.5.1
|
43
|
-
|
44
51
|
before_install:
|
45
52
|
- sudo apt-get update -qq
|
46
53
|
|
47
54
|
# Remove htop
|
48
|
-
- sudo apt-get remove --purge htop
|
55
|
+
- sudo apt-get remove --purge --yes htop
|
49
56
|
|
50
57
|
install:
|
51
58
|
# Install Ansible.
|
52
|
-
- if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible; else pip install ansible==$ANSIBLE_VERSION; fi
|
53
|
-
|
54
|
-
# Add ansible.cfg to pick up roles path.
|
55
|
-
- printf "[defaults]\nroles_path = ../" > ansible.cfg
|
59
|
+
- if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install --no-binary ansible ansible; else pip install --no-binary ansible ansible==$ANSIBLE_VERSION; fi
|
56
60
|
|
57
61
|
script:
|
58
62
|
# Check the role/playbook's syntax.
|
59
63
|
- ansible-playbook -i tests/inventory tests/test.yml --syntax-check
|
60
64
|
|
61
65
|
# Run the role/playbook with ansible-playbook.
|
62
|
-
- ansible-playbook -i tests/inventory tests/test.yml
|
66
|
+
- ansible-playbook -i tests/inventory tests/test.yml -vvvv
|
63
67
|
|
64
68
|
# Run the role/playbook again, checking to make sure it's idempotent.
|
65
69
|
- >
|
66
|
-
ansible-playbook -i tests/inventory tests/test.yml
|
70
|
+
ansible-playbook -i tests/inventory tests/test.yml
|
67
71
|
| grep -q 'changed=0.*failed=0'
|
68
72
|
&& (echo 'Idempotence test: pass' && exit 0)
|
69
73
|
|| (echo 'Idempotence test: fail' && exit 1)
|
@@ -73,3 +77,4 @@ notifications:
|
|
73
77
|
hipchat:
|
74
78
|
rooms:
|
75
79
|
secure: l5UYzdHkL4Ec2luCwA0gcbKL52x7wY8dSj2K2NYCxZFNwOH7p04l7eAtackqn/t73TL1DvjtOPLAEO2hRDQzLSHPbGXiNS30nbOIG0IkuHQoatPSa9gcV1NfwMHU/bj3TU1NiAjAOoew0KKrhN1H+5UpfzMcqDM0Scgf/uiVGHo=
|
80
|
+
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
@@ -1,6 +1,6 @@
|
|
1
1
|
## htop
|
2
2
|
|
3
|
-
[![Build Status](https://travis-ci.org/Oefenweb/ansible-htop.svg?branch=master)](https://travis-ci.org/Oefenweb/ansible-htop) [![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-htop-blue.svg)](https://galaxy.ansible.com/
|
3
|
+
[![Build Status](https://travis-ci.org/Oefenweb/ansible-htop.svg?branch=master)](https://travis-ci.org/Oefenweb/ansible-htop) [![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-htop-blue.svg)](https://galaxy.ansible.com/tersmitten/htop)
|
4
4
|
|
5
5
|
Set up htop in Debian-like systems.
|
6
6
|
|
@@ -3,56 +3,48 @@
|
|
3
3
|
|
4
4
|
role = File.basename(File.expand_path(File.dirname(__FILE__)))
|
5
5
|
|
6
|
-
File.open(File.dirname(__FILE__) + '/ansible.cfg', 'w') { |f| f.write("[defaults]\nroles_path = ../") }
|
7
|
-
|
8
6
|
boxes = [
|
9
|
-
{
|
10
|
-
:name => "ubuntu-1004",
|
11
|
-
:box => "opscode-ubuntu-10.04",
|
12
|
-
:url => "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-10.04_chef-provisionerless.box",
|
13
|
-
:ip => '10.0.0.10',
|
14
|
-
:cpu => "50",
|
15
|
-
:ram => "256"
|
16
|
-
},
|
17
7
|
{
|
18
8
|
:name => "ubuntu-1204",
|
19
|
-
:box => "
|
20
|
-
:url => "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-12.04_chef-provisionerless.box",
|
9
|
+
:box => "bento/ubuntu-12.04",
|
21
10
|
:ip => '10.0.0.11',
|
22
11
|
:cpu => "50",
|
23
12
|
:ram => "256"
|
24
13
|
},
|
25
14
|
{
|
26
15
|
:name => "ubuntu-1404",
|
27
|
-
:box => "
|
28
|
-
:url => "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-14.04_chef-provisionerless.box",
|
16
|
+
:box => "bento/ubuntu-14.04",
|
29
17
|
:ip => '10.0.0.12',
|
30
18
|
:cpu => "50",
|
31
19
|
:ram => "256"
|
32
20
|
},
|
33
21
|
{
|
34
|
-
:name => "
|
35
|
-
:box => "
|
36
|
-
:url => "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_debian-6.0.10_chef-provisionerless.box",
|
22
|
+
:name => "ubuntu-1604",
|
23
|
+
:box => "bento/ubuntu-16.04",
|
37
24
|
:ip => '10.0.0.13',
|
38
25
|
:cpu => "50",
|
39
26
|
:ram => "256"
|
40
27
|
},
|
41
28
|
{
|
42
|
-
:name => "debian-
|
43
|
-
:box => "
|
44
|
-
:url => "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_debian-7.8_chef-provisionerless.box",
|
29
|
+
:name => "debian-711",
|
30
|
+
:box => "bento/debian-7.11",
|
45
31
|
:ip => '10.0.0.14',
|
46
32
|
:cpu => "50",
|
47
33
|
:ram => "256"
|
48
34
|
},
|
35
|
+
{
|
36
|
+
:name => "debian-86",
|
37
|
+
:box => "bento/debian-8.6",
|
38
|
+
:ip => '10.0.0.15',
|
39
|
+
:cpu => "50",
|
40
|
+
:ram => "256"
|
41
|
+
},
|
49
42
|
]
|
50
43
|
|
51
44
|
Vagrant.configure("2") do |config|
|
52
45
|
boxes.each do |box|
|
53
46
|
config.vm.define box[:name] do |vms|
|
54
47
|
vms.vm.box = box[:box]
|
55
|
-
vms.vm.box_url = box[:url]
|
56
48
|
vms.vm.hostname = "ansible-#{role}-#{box[:name]}"
|
57
49
|
|
58
50
|
vms.vm.provider "virtualbox" do |v|
|
@@ -1 +1 @@
|
|
1
|
-
{install_date: '
|
1
|
+
{install_date: 'Thu Jan 5 14:34:20 2017', version: v2.0.4}
|
@@ -1,18 +1,21 @@
|
|
1
|
-
---
|
2
1
|
# meta file for htop
|
2
|
+
---
|
3
3
|
galaxy_info:
|
4
4
|
author: Mischa ter Smitten
|
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.
|
8
|
+
min_ansible_version: 1.6
|
9
9
|
platforms:
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
-
|
16
|
-
|
17
|
-
|
10
|
+
- name: Ubuntu
|
11
|
+
versions:
|
12
|
+
- precise
|
13
|
+
- trusty
|
14
|
+
- xenial
|
15
|
+
- name: Debian
|
16
|
+
versions:
|
17
|
+
- wheezy
|
18
|
+
- jessie
|
19
|
+
galaxy_tags:
|
20
|
+
- system
|
18
21
|
dependencies: []
|
@@ -1,19 +1,26 @@
|
|
1
|
-
---
|
2
1
|
# tasks file for htop
|
2
|
+
---
|
3
3
|
- name: install
|
4
4
|
apt:
|
5
|
-
name:
|
6
|
-
state: latest
|
5
|
+
name: "{{ item }}"
|
6
|
+
state: "{{ apt_install_state | default('latest') }}"
|
7
7
|
update_cache: true
|
8
|
-
cache_valid_time: 3600
|
9
|
-
|
8
|
+
cache_valid_time: "{{ apt_update_cache_valid_time | default(3600) }}"
|
9
|
+
with_items: "{{ htop_dependencies }}"
|
10
|
+
tags:
|
11
|
+
- configuration
|
12
|
+
- htop
|
13
|
+
- htop-install
|
10
14
|
|
11
15
|
- name: create configuration directory
|
12
16
|
file:
|
13
17
|
path: "{{ item.value.dest }}"
|
14
18
|
state: directory
|
15
|
-
with_dict: htop_htoprc_destinations
|
16
|
-
tags:
|
19
|
+
with_dict: "{{ htop_htoprc_destinations }}"
|
20
|
+
tags:
|
21
|
+
- configuration
|
22
|
+
- htop
|
23
|
+
- htop-configuration
|
17
24
|
|
18
25
|
- name: create configuration file
|
19
26
|
copy:
|
@@ -23,5 +30,8 @@
|
|
23
30
|
group: "{{ item.value.group | default(item.value.owner) | default('root') }}"
|
24
31
|
mode: "{{ item.value.mode | default('0644') }}"
|
25
32
|
force: "{{ 'yes' if htop_replace_htoprc else 'no' }}"
|
26
|
-
with_dict: htop_htoprc_destinations
|
27
|
-
tags:
|
33
|
+
with_dict: "{{ htop_htoprc_destinations }}"
|
34
|
+
tags:
|
35
|
+
- configuration
|
36
|
+
- htop
|
37
|
+
- htop-configuration
|
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.
|
4
|
+
version: 1.8.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: 2017-01-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: slack-notifier
|
@@ -120,6 +120,7 @@ files:
|
|
120
120
|
- roles/delayed_job/templates/dj_monit_runner.j2
|
121
121
|
- roles/deployer_user/tasks/keys.yml
|
122
122
|
- roles/deployer_user/tasks/main.yml
|
123
|
+
- roles/dev_keys/tasks/main.yml
|
123
124
|
- roles/frontend_deploy/handlers/main.yml
|
124
125
|
- roles/frontend_deploy/tasks/main.yml
|
125
126
|
- roles/frontend_install_essentials/meta/main.yml
|
@@ -128,6 +129,7 @@ files:
|
|
128
129
|
- roles/general/tasks/basic_packages.yml
|
129
130
|
- roles/general/tasks/main.yml
|
130
131
|
- roles/general/tasks/swapfile.yml
|
132
|
+
- roles/imagemagick/tasks/main.yml
|
131
133
|
- roles/monit_activate/tasks/main.yml
|
132
134
|
- roles/monit_install/tasks/main.yml
|
133
135
|
- roles/monit_install/templates/monitrc.j2
|
@@ -160,6 +162,7 @@ files:
|
|
160
162
|
- roles/unicorn_install/templates/unicorn.rb.j2
|
161
163
|
- roles/unicorn_install/templates/unicorn_init.j2
|
162
164
|
- roles/unicorn_install/templates/unicorn_monit.j2
|
165
|
+
- roles/whenever/tasks/main.yml
|
163
166
|
- spec/commands/installer_spec.rb
|
164
167
|
- spec/spec_helper.rb
|
165
168
|
- taperole.gemspec
|
@@ -204,10 +207,15 @@ files:
|
|
204
207
|
- vendor/ANXS.postgresql/templates/etc_systemd_system_postgresql.service.d_custom.conf.j2
|
205
208
|
- vendor/ANXS.postgresql/templates/pg_hba.conf.j2
|
206
209
|
- vendor/ANXS.postgresql/templates/postgresql.conf-9.1.j2
|
210
|
+
- vendor/ANXS.postgresql/templates/postgresql.conf-9.1.orig
|
207
211
|
- vendor/ANXS.postgresql/templates/postgresql.conf-9.2.j2
|
212
|
+
- vendor/ANXS.postgresql/templates/postgresql.conf-9.2.orig
|
208
213
|
- vendor/ANXS.postgresql/templates/postgresql.conf-9.3.j2
|
214
|
+
- vendor/ANXS.postgresql/templates/postgresql.conf-9.3.orig
|
209
215
|
- vendor/ANXS.postgresql/templates/postgresql.conf-9.4.j2
|
216
|
+
- vendor/ANXS.postgresql/templates/postgresql.conf-9.4.orig
|
210
217
|
- vendor/ANXS.postgresql/templates/postgresql.conf-9.5.j2
|
218
|
+
- vendor/ANXS.postgresql/templates/postgresql.conf-9.5.orig
|
211
219
|
- vendor/ANXS.postgresql/tests/Dockerfile-centos6
|
212
220
|
- vendor/ANXS.postgresql/tests/Dockerfile-ubuntu14.04
|
213
221
|
- vendor/ANXS.postgresql/tests/idempotence_check.sh
|