1
0
Fork 0
Find a file
2023-09-12 01:22:04 +02:00
.github Merge pull request #12 from roles-ansible/dependabot/github_actions/robertdebock/galaxy-action-1.2.1 2023-09-12 01:22:04 +02:00
defaults Edit template 2023-09-11 17:21:07 +02:00
handlers improve systemd workflow 2022-11-22 17:43:34 +01:00
meta Edit template 2023-09-11 17:21:07 +02:00
tasks Edit template 2023-09-11 17:21:07 +02:00
templates Edit template 2023-09-11 17:21:07 +02:00
vars cleanup role and add new vars to README 2023-09-12 01:07:11 +02:00
.gitignore Initial commit 2022-11-21 16:15:45 +01:00
.yamllint Initial commit 2022-11-21 16:15:45 +01:00
LICENSE Edit template 2023-09-11 17:21:07 +02:00
README.md cleanup role and add new vars to README 2023-09-12 01:07:11 +02:00

Ansible Galaxy BSD-3 Clause Maintainance

Ansible role prometheus ping exporter

Ansible role to install the prometheus node exporter from github.com/czerwonk/ping_exporter

Some variables

value default
ping_exporter__targets []
ping_exporter__user ping_exporter
ping_exporter__group ping_exporter
ping_exporter__user_home /var/lib/ping_exporter
ping_exporter__shell /bin/false
ping_exporter__version latest
ping_exporter__nameserver 9.9.9.9
ping_exporter__web_listen_address :9427
ping_exporter__filename see defaults/main.yml
ping_exporter__dns see defaults/main.yml
ping_exporter__ping see defaults/main.yml
ping_exporter__options see defaults/main.yml
submodules_versioncheck false

Please define all your targets in the ping_exporter__targets array.

Example Playbook

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