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

Commit dfd4815

Browse files
committed
update metadata and docs
Signed-off-by: paulfantom <[email protected]>
1 parent e172a27 commit dfd4815

File tree

2 files changed

+7
-26
lines changed

2 files changed

+7
-26
lines changed

README.md

Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
# Ansible Role: systemd exporter
44

5-
[![Build Status](https://travis-ci.com/cloudalchemy/ansible-systemd-exporter.svg?branch=master)](https://travis-ci.com/cloudalchemy/ansible-systemd-exporter)
5+
[![CircleCI](https://circleci.com/gh/cloudalchemy/ansible-systemd-exporter.svg?style=svg)](https://circleci.com/gh/cloudalchemy/ansible-systemd-exporter)
66
[![License](https://img.shields.io/badge/license-MIT%20License-brightgreen.svg)](https://opensource.org/licenses/MIT)
7-
[![Ansible Role](https://img.shields.io/badge/ansible%20role-cloudalchemy.systemd_exporter-blue.svg)](https://galaxy.ansible.com/cloudalchemy/systemd-exporter/)
7+
[![Ansible Role](https://img.shields.io/badge/ansible%20role-cloudalchemy.systemd_exporter-blue.svg)](https://galaxy.ansible.com/cloudalchemy/systemd_exporter/)
88
[![GitHub tag](https://img.shields.io/github/tag/cloudalchemy/ansible-systemd-exporter.svg)](https://github.com/cloudalchemy/ansible-systemd-exporter/tags)
99

1010
## Description
@@ -39,35 +39,16 @@ Use it in a playbook as follows:
3939
```yaml
4040
- hosts: all
4141
roles:
42-
- cloudalchemy.systemd-exporter
42+
- cloudalchemy.systemd_exporter
4343
```
4444
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-
4945
## Local Testing
5046
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`.
6748

68-
## Travis CI
49+
## Continuous Intergation
6950

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.
7152

7253
## Contributing
7354

meta/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
galaxy_info:
33
author: Pawel Krupa
44
description: Prometheus Systemd Exporter
5-
role_name: systemd-exporter
5+
role_name: systemd_exporter
66
license: MIT
77
company: none
88
min_ansible_version: 2.7

0 commit comments

Comments
 (0)