You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 6, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@
9
9
10
10
## Warning
11
11
12
-
Due to limitations of galaxy.ansible.com we had to move role to https://galaxy.ansible.com/cloudalchemy/node_exporter and use `_` instead of `-` in role name. This is a breaking change and unfortunatelly it affects all versions of node_exporter role as ansible galaxy doesn't offer any form of redirection. We are sorry for the inconvenience.
12
+
Due to limitations of galaxy.ansible.com we had to move the role to https://galaxy.ansible.com/cloudalchemy/node_exporter and use `_` instead of `-` in role name. This is a breaking change and unfortunately, it affects all versions of node_exporter role as ansible galaxy doesn't offer any form of redirection. We are sorry for the inconvenience.
13
13
14
14
## Description
15
15
@@ -19,7 +19,7 @@ Deploy prometheus [node exporter](https://github.com/prometheus/node_exporter) u
19
19
20
20
- Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)
21
21
- gnu-tar on Mac deployer host (`brew install gnu-tar`)
22
-
- Passlib is required when using the basic authentatication feature (`pip install passlib[bcrypt]`)
22
+
- Passlib is required when using the basic authentication feature (`pip install passlib[bcrypt]`)
23
23
24
24
## Role Variables
25
25
@@ -51,7 +51,7 @@ Use it in a playbook as follows:
51
51
52
52
### TLS config
53
53
54
-
Before running node_exporter role, user needs to provision their own certificate and key.
54
+
Before running node_exporter role, the user needs to provision their own certificate and key.
55
55
```yaml
56
56
- hosts: all
57
57
pre_tasks:
@@ -85,26 +85,26 @@ We provide demo site for full monitoring solution based on prometheus and grafan
85
85
86
86
## Local Testing
87
87
88
-
The preferred way of locally testing the role is to use Docker and [molecule](https://github.com/metacloud/molecule) (v2.x). You will have to install Docker on your system. See "Get started" for a Docker package suitable to for your system.
89
-
We are using tox to simplify process of testing on multiple ansible versions. To install tox execute:
88
+
The preferred way of locally testing the role is to use Docker and [molecule](https://github.com/metacloud/molecule) (v2.x). You will have to install Docker on your system. See "Get started" for a Docker package suitable for your system.
89
+
We are using tox to simplify the process of testing on multiple ansible versions. To install tox execute:
90
90
```sh
91
91
pip3 install tox
92
92
```
93
93
To run tests on all ansible versions (WARNING: this can take some time)
94
94
```sh
95
95
tox
96
96
```
97
-
To run a custom molecule command on custom environment with only default test scenario:
97
+
To run a custom molecule command on a custom environment with only default test scenario:
98
98
```sh
99
99
tox -e py35-ansible28 -- molecule test -s default
100
100
```
101
101
For more information about molecule go to their [docs](http://molecule.readthedocs.io/en/latest/).
102
102
103
-
If you would like to run tests on remote docker host just specify `DOCKER_HOST` variable before running tox tests.
103
+
If you would like to run tests on a remote docker host just specify `DOCKER_HOST` variable before running tox tests.
104
104
105
105
## Travis CI
106
106
107
-
Combining molecule and travis CI allows us to test how new PRs will behave when used with multiple ansible versions and multiple operating systems. This also allows use to create test scenarios for different role configurations. As a result we have a quite large test matrix which will take more time than local testing, so please be patient.
107
+
Combining molecule and travis CI allows us to test how new PRs will behave when used with multiple ansible versions and multiple operating systems. This also allows creating test scenarios for different role configurations. As a result, we have a quite large test matrix which will take more time than local testing, so please be patient.
0 commit comments