mirror of
https://github.com/roles-ansible/ansible_role_prometheus_ping_exporter.git
synced 2024-08-16 10:19:51 +02:00
Update README.md
This commit is contained in:
parent
aa664a6b3f
commit
0f0ad17dc9
1 changed files with 17 additions and 3 deletions
20
README.md
20
README.md
|
@ -1,8 +1,8 @@
|
|||
[![License](https://raw.githubusercontent.com/roles-ansible/ansible_role_prometheus_ping_exporter/main/.github/license.svg)](https://github.com/roles-ansible/ansible_role_prometheus_ping_exporter/blob/main/LICENSE)
|
||||
[![Galaxy](https://github.com/roles-ansible/ansible_role_prometheus_ping_exporter/raw/main/.github/galaxy.svg)](https://galaxy.github.com/do1jlr/prometheus_ping_exporter)
|
||||
[![Galaxy](https://github.com/roles-ansible/ansible_role_prometheus_ping_exporter/raw/main/.github/galaxy.svg)](https://galaxy.ansible.com/do1jlr/prometheus_ping_exporter)
|
||||
|
||||
# Ansible role prometheus ping exporter
|
||||
Ansible role to install the prometheus node exporter from [github.com/czerwonk/ping_exporte](https://github.com/czerwonk/ping_exporter.git)
|
||||
Ansible role to install the prometheus node exporter from [github.com/czerwonk/ping_exporter](https://github.com/czerwonk/ping_exporter.git)
|
||||
|
||||
## Some variables
|
||||
| value | default |
|
||||
|
@ -12,9 +12,23 @@ Ansible role to install the prometheus node exporter from [github.com/czerwonk/p
|
|||
| ping_exporter__user_home | ``/var/lib/ping_exporter`` |
|
||||
| ping_exporter__shell | ``/bin/false`` |
|
||||
| ping_exporter__version | ``latest`` |
|
||||
| ping_exporter__targets | `` []`` |
|
||||
| **ping_exporter__targets** | `` []`` |
|
||||
| ping_exporter__nameserver | ``9.9.9.9`` |
|
||||
| ping_exporter__web_listen_address | ``:9427`` |
|
||||
| submodules_versioncheck | ``false`` |
|
||||
|
||||
Please define all your targets in the ``ping_exporter__targets`` array.
|
||||
|
||||
## Example Playbook
|
||||
```yml
|
||||
---
|
||||
- name: Install ping exporter at example.com
|
||||
hosts: example.com
|
||||
roles:
|
||||
- {role: do1jlr.prometheus_ping_exporter, tags: etebase}
|
||||
vars:
|
||||
ping_exporter__targets:
|
||||
- host1.example.com
|
||||
- host2.example.com
|
||||
- ccc.de
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue