Add prometheus role
This commit is contained in:
35
roles/prometheus/meta/argument_specs.yml
Normal file
35
roles/prometheus/meta/argument_specs.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
argument_specs:
|
||||
main:
|
||||
description: Installs and configures prometheus
|
||||
options:
|
||||
prometheus_additional_networks:
|
||||
description: >-
|
||||
A list of additional podman networks for the prometheus container (in
|
||||
addition to prometheus network).
|
||||
type: list
|
||||
required: false
|
||||
default: []
|
||||
elements: str
|
||||
|
||||
prometheus_ping_hosts:
|
||||
description: List of hosts to ping
|
||||
type: list
|
||||
required: false
|
||||
default: []
|
||||
elements: dict
|
||||
options:
|
||||
name:
|
||||
description: Hostname to ping
|
||||
type: str
|
||||
required: true
|
||||
type:
|
||||
description: >-
|
||||
Type of host. Monitored hosts are pinged to check if they are up.
|
||||
Wan hosts are pinged to check if prometheus has internet access.
|
||||
type: str
|
||||
required: false
|
||||
default: monitored
|
||||
choices:
|
||||
- monitored
|
||||
- wan
|
||||
Reference in New Issue
Block a user