diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-03-02 22:37:39 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-03-02 22:37:39 +0100 |
| commit | 8b766e87a0299836ed602e3936fbef9a6b403193 (patch) | |
| tree | 744f3b05dfc52d8bc0851a438f560a28ccb28c59 /roles/prometheus/meta | |
| parent | 35d741bdbce14c26a7c235f0c8a2c7c0677b2311 (diff) | |
Refactor prometheus to move node_exporter role out of the server role
Diffstat (limited to 'roles/prometheus/meta')
| -rw-r--r-- | roles/prometheus/meta/argument_specs.yml | 6 | ||||
| -rw-r--r-- | roles/prometheus/meta/main.yml | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/roles/prometheus/meta/argument_specs.yml b/roles/prometheus/meta/argument_specs.yml index 6a6db4c4..83f8abb2 100644 --- a/roles/prometheus/meta/argument_specs.yml +++ b/roles/prometheus/meta/argument_specs.yml @@ -20,10 +20,6 @@ argument_specs: description: "Global scrape interval for metrics collection" type: "str" default: "15s" - prometheus_node_exporter_port: - description: "Port for node-exporter metrics endpoint" - type: "int" - default: 9100 prometheus_targets: description: "The list of prometheus targets to scrape" type: "list" @@ -33,4 +29,4 @@ argument_specs: description: "The list of node_exporter targets to scrape" type: "list" elements: "str" - default: ["{{ prometheus_host }}:{{ prometheus_node_exporter_port }}"] + default: [] diff --git a/roles/prometheus/meta/main.yml b/roles/prometheus/meta/main.yml index 78240dba..170ae76c 100644 --- a/roles/prometheus/meta/main.yml +++ b/roles/prometheus/meta/main.yml @@ -2,7 +2,7 @@ dependencies: [] galaxy_info: author: "a14m" - description: "Install lightweight Prometheus and Node Exporter for monitoring" + description: "Install and configure Prometheus server" license: "MIT" min_ansible_version: "2.18" platforms: |
