|
2 | 2 |
|
3 | 3 | # Ansible Role: systemd exporter
|
4 | 4 |
|
5 |
| -[](https://travis-ci.com/cloudalchemy/ansible-systemd-exporter) |
| 5 | +[](https://circleci.com/gh/cloudalchemy/ansible-systemd-exporter) |
6 | 6 | [](https://opensource.org/licenses/MIT)
|
7 |
| -[](https://galaxy.ansible.com/cloudalchemy/systemd-exporter/) |
| 7 | +[](https://galaxy.ansible.com/cloudalchemy/systemd_exporter/) |
8 | 8 | [](https://github.com/cloudalchemy/ansible-systemd-exporter/tags)
|
9 | 9 |
|
10 | 10 | ## Description
|
@@ -39,35 +39,16 @@ Use it in a playbook as follows:
|
39 | 39 | ```yaml
|
40 | 40 | - hosts: all
|
41 | 41 | roles:
|
42 |
| - - cloudalchemy.systemd-exporter |
| 42 | + - cloudalchemy.systemd_exporter |
43 | 43 | ```
|
44 | 44 |
|
45 |
| -### Demo site |
46 |
| -
|
47 |
| -We provide demo site for full monitoring solution based on prometheus and grafana. Repository with code and links to running instances is [available on github](https://github.com/cloudalchemy/demo-site) and site is hosted on [DigitalOcean](https://digitalocean.com). |
48 |
| -
|
49 | 45 | ## Local Testing
|
50 | 46 |
|
51 |
| -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. |
52 |
| -We are using tox to simplify process of testing on multiple ansible versions. To install tox execute: |
53 |
| -```sh |
54 |
| -pip3 install tox |
55 |
| -``` |
56 |
| -To run tests on all ansible versions (WARNING: this can take some time) |
57 |
| -```sh |
58 |
| -tox |
59 |
| -``` |
60 |
| -To run a custom molecule command on custom environment with only default test scenario: |
61 |
| -```sh |
62 |
| -tox -e py35-ansible28 -- molecule test -s default |
63 |
| -``` |
64 |
| -For more information about molecule go to their [docs](http://molecule.readthedocs.io/en/latest/). |
65 |
| - |
66 |
| -If you would like to run tests on remote docker host just specify `DOCKER_HOST` variable before running tox tests. |
| 47 | +The preferred way of locally testing the role is to use Docker and [molecule](https://github.com/ansible-community/molecule) (v3.x). You will have to install Docker on your system. See "Get started" for a Docker package suitable to for your system. Running your tests is as simple as executing `molecule test`. |
67 | 48 |
|
68 |
| -## Travis CI |
| 49 | +## Continuous Intergation |
69 | 50 |
|
70 |
| -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. |
| 51 | +Combining molecule and circle 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 can take more time than local testing, so please be patient. |
71 | 52 |
|
72 | 53 | ## Contributing
|
73 | 54 |
|
|
0 commit comments