Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

Commit 7116a23

Browse files
committed
Bump all role requirements to latest versions.
1 parent de16bbc commit 7116a23

File tree

17 files changed

+260
-132
lines changed

17 files changed

+260
-132
lines changed

provisioning/requirements.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
- src: arknoll.selenium
33
version: 1.3.0
44
- src: franklinkim.newrelic
5-
version: 1.2.0
5+
version: 1.4.0
66
- src: geerlingguy.adminer
77
version: 1.1.0
88
- src: geerlingguy.apache
@@ -18,9 +18,9 @@
1818
- src: geerlingguy.drupal-console
1919
version: 1.0.7
2020
- src: geerlingguy.drush
21-
version: 1.1.2
21+
version: 1.1.3
2222
- src: geerlingguy.elasticsearch
23-
version: 2.1.0
23+
version: 2.1.1
2424
- src: geerlingguy.firewall
2525
version: 1.0.9
2626
- src: geerlingguy.git
@@ -34,7 +34,7 @@
3434
- src: geerlingguy.mysql
3535
version: 2.3.1
3636
- src: geerlingguy.nginx
37-
version: 1.9.2
37+
version: 1.9.3
3838
- src: geerlingguy.nodejs
3939
version: 3.2.0
4040
- src: geerlingguy.php
@@ -62,7 +62,7 @@
6262
- src: geerlingguy.ruby
6363
version: 2.3.1
6464
- src: geerlingguy.security
65-
version: 1.2.0
65+
version: 1.4.0
6666
- src: geerlingguy.solr
6767
version: 3.1.3
6868
- src: geerlingguy.varnish

provisioning/roles/franklinkim.newrelic/CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
<a name="1.4.0"></a>
2+
## 1.4.0 (2016-08-05)
3+
4+
5+
#### Features
6+
7+
* add label settings ([169d3867](https://github.com/weareinteractive/ansible-newrelic/commit/169d386710aba0d7d1397cb68ef7f8426d1fac80))
8+
9+
10+
11+
<a name="1.3.0"></a>
12+
## 1.3.0 (2016-07-04)
13+
14+
15+
16+
17+
<a name="1.2.1"></a>
18+
### 1.2.1 (2016-04-10)
19+
20+
21+
#### Bug Fixes
22+
23+
* default groups breaks install when docker monitoring is enabled ([3e507b30](https://github.com/weareinteractive/ansible-newrelic/commit/3e507b3080fa8040a3659577f1bdc25c3d97508a))
24+
25+
26+
127
<a name="1.2.0"></a>
228
## 1.2.0 (2016-02-13)
329

provisioning/roles/franklinkim.newrelic/README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $ git clone https://github.com/weareinteractive/ansible-newrelic.git franklinkim
3333

3434
## Dependencies
3535

36-
* Ansible >= 1.9
36+
* Ansible >= 2.0
3737

3838
## Variables
3939

@@ -62,6 +62,10 @@ newrelic_disable_docker: yes
6262
newrelic_service_enabled: yes
6363
# current state: started, stopped
6464
newrelic_service_state: started
65+
# use default hostname, set a value to override the default hostname
66+
newrelic_override_hostname: ~
67+
# A series of label_type/label_value pairings: label_type:label_value
68+
newrelic_labels: ~
6569
6670
```
6771

@@ -99,16 +103,17 @@ This is an example playbook:
99103
100104
```
101105

106+
102107
## Testing
103108

104109
```shell
105110
$ git clone https://github.com/weareinteractive/ansible-newrelic.git
106111
$ cd ansible-newrelic
107-
$ vagrant up
112+
$ make test
108113
```
109114

110115
## Contributing
111-
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests and examples for any new or changed functionality.
116+
In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests and examples for any new or changed functionality.
112117

113118
1. Fork it
114119
2. Create your feature branch (`git checkout -b my-new-feature`)

provisioning/roles/franklinkim.newrelic/defaults/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@ newrelic_disable_docker: yes
2020
newrelic_service_enabled: yes
2121
# current state: started, stopped
2222
newrelic_service_state: started
23+
# use default hostname, set a value to override the default hostname
24+
newrelic_override_hostname: ~
25+
# A series of label_type/label_value pairings: label_type:label_value
26+
newrelic_labels: ~

provisioning/roles/franklinkim.newrelic/meta/main.yml

Lines changed: 124 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -3,102 +3,140 @@ galaxy_info:
33
author: franklin
44
company: We Are Interactive
55
description: Installs and configure newrelic
6-
min_ansible_version: 1.9
6+
min_ansible_version: 2.0
77
license: MIT
8+
# Optionally specify the branch Galaxy will use when accessing the GitHub
9+
# repo for this role. During role install, if no tags are available,
10+
# Galaxy will use this branch. During import Galaxy will access files on
11+
# this branch. If travis integration is cofigured, only notification for this
12+
# branch will be accepted. Otherwise, in all cases, the repo's default branch
13+
# (usually master) will be used.
14+
github_branch: master
815
#
916
# Below are all platforms currently available. Just uncomment
1017
# the ones that apply to your role. If you don't see your
1118
# platform on this list, let us know and we'll get it added!
1219
#
1320
platforms:
14-
- name: EL
15-
versions:
16-
# - all
17-
# - 5
18-
# - 6
19-
- 7
20-
# - name: GenericUNIX
21-
# versions:
22-
# - all
23-
# - any
24-
# - name: Fedora
25-
# versions:
26-
# - all
27-
# - 16
28-
# - 17
29-
# - 18
30-
# - 19
31-
# - 20
32-
# - name: opensuse
33-
# versions:
34-
# - all
35-
# - 12.1
36-
# - 12.2
37-
# - 12.3
38-
# - 13.1
39-
# - 13.2
40-
# - name: GenericBSD
41-
# versions:
42-
# - all
43-
# - any
44-
# - name: FreeBSD
45-
# versions:
46-
# - all
47-
# - 8.0
48-
# - 8.1
49-
# - 8.2
50-
# - 8.3
51-
# - 8.4
52-
# - 9.0
53-
# - 9.1
54-
# - 9.1
55-
# - 9.2
56-
- name: Ubuntu
57-
versions:
58-
- all
59-
# - lucid
60-
# - maverick
61-
# - natty
62-
# - oneiric
63-
# - precise
64-
# - quantal
65-
# - raring
66-
# - saucy
67-
# - trusty
68-
# - name: SLES
69-
# versions:
70-
# - all
71-
# - 10SP3
72-
# - 10SP4
73-
# - 11
74-
# - 11SP1
75-
# - 11SP2
76-
# - 11SP3
77-
# - name: GenericLinux
78-
# versions:
79-
# - all
80-
# - any
81-
- name: Debian
82-
versions:
83-
- all
84-
# - etch
85-
# - lenny
86-
# - squeeze
87-
# - wheezy
21+
- name: EL
22+
versions:
23+
- all
24+
# - 5
25+
# - 6
26+
# - 7
27+
#- name: GenericUNIX
28+
# versions:
29+
# - all
30+
# - any
31+
#- name: Solaris
32+
# versions:
33+
# - all
34+
# - 10
35+
# - 11.0
36+
# - 11.1
37+
# - 11.2
38+
# - 11.3
39+
#- name: Fedora
40+
# versions:
41+
# - all
42+
# - 16
43+
# - 17
44+
# - 18
45+
# - 19
46+
# - 20
47+
# - 21
48+
# - 22
49+
# - 23
50+
#- name: Windows
51+
# versions:
52+
# - all
53+
# - 2012R2
54+
#- name: SmartOS
55+
# versions:
56+
# - all
57+
# - any
58+
#- name: opensuse
59+
# versions:
60+
# - all
61+
# - 12.1
62+
# - 12.2
63+
# - 12.3
64+
# - 13.1
65+
# - 13.2
66+
#- name: Amazon
67+
# versions:
68+
# - all
69+
# - 2013.03
70+
# - 2013.09
71+
#- name: GenericBSD
72+
# versions:
73+
# - all
74+
# - any
75+
#- name: FreeBSD
76+
# versions:
77+
# - all
78+
# - 10.0
79+
# - 10.1
80+
# - 10.2
81+
# - 8.0
82+
# - 8.1
83+
# - 8.2
84+
# - 8.3
85+
# - 8.4
86+
# - 9.0
87+
# - 9.1
88+
# - 9.1
89+
# - 9.2
90+
# - 9.3
91+
- name: Ubuntu
92+
versions:
93+
- all
94+
# - lucid
95+
# - maverick
96+
# - natty
97+
# - oneiric
98+
# - precise
99+
# - quantal
100+
# - raring
101+
# - saucy
102+
# - trusty
103+
# - utopic
104+
# - vivid
105+
# - wily
106+
#- name: SLES
107+
# versions:
108+
# - all
109+
# - 10SP3
110+
# - 10SP4
111+
# - 11
112+
# - 11SP1
113+
# - 11SP2
114+
# - 11SP3
115+
#- name: GenericLinux
116+
# versions:
117+
# - all
118+
# - any
119+
- name: Debian
120+
versions:
121+
- all
122+
# - etch
123+
# - jessie
124+
# - lenny
125+
# - squeeze
126+
# - wheezy categories:
88127
#
89-
# Below are all categories currently available. Just as with
90-
# the platforms above, uncomment those that apply to your role.
91-
#
92-
# The number of tags imported by Galaxy is limited to 20,
93-
# and tag values containing non-alphanumeric characters will be ignored.
94-
# Tag values containing a : will be split into multiple tags.
95-
# The tag cloud:ec2, for example, will become two tags: cloud and ec2.
128+
# List tags for your role here, one per line. A tag is
129+
# a keyword that describes and categorizes the role.
130+
# Users find roles by searching for tags. Be sure to
131+
# remove the '[]' above if you add tags to this list.
96132
#
133+
# NOTE: A tag is limited to a single word comprised of
134+
# alphanumeric characters. Maximum 20 tags per role.
97135
galaxy_tags:
98136
- monitoring
99137
- newrelic
138+
# List your role dependencies here, one per line. Only
139+
# dependencies available via galaxy should be listed here.
140+
# Be sure to remove the '[]' above if you add dependencies
141+
# to this list.
100142
dependencies: []
101-
# List your role dependencies here, one per line. Only
102-
# dependencies available via galaxy should be listed here.
103-
# Be sure to remove the '[]' above if you add dependencies
104-
# to this list.

provisioning/roles/franklinkim.newrelic/templates/etc/newrelic/nrsysmond.cfg.j2

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ logfile={{ newrelic_logfile }}
187187
# Default: none
188188
#
189189
#labels=label_type:label_value
190+
{% if newrelic_labels %}
191+
labels={{ newrelic_labels }}
192+
{% endif %}
190193

191194
#
192195
# Option : disable_nfs
@@ -203,3 +206,14 @@ disable_nfs={{ newrelic_disable_nfs | to_nice_json }}
203206
# Default: false
204207
#
205208
disable_docker={{ newrelic_disable_docker | to_nice_json }}
209+
210+
#
211+
# Option : override_hostname
212+
# Type : string
213+
# Value : Set to a non-empty value to use as the hostname that will be reported to New Relic
214+
# Default: none
215+
#
216+
#hostname=newrelic.com
217+
{% if newrelic_override_hostname %}
218+
hostname={{ newrelic_override_hostname }}
219+
{% endif %}

0 commit comments

Comments
 (0)