prometheus_node_exporter: move compatcheck to tasks

This commit is contained in:
uumas
2025-07-26 23:06:34 +03:00
parent 1c9649e8d6
commit 7e0538ae20
2 changed files with 10 additions and 9 deletions

View File

@@ -1,9 +0,0 @@
---
dependencies:
- role: uumas.general.compatcheck
vars:
compatcheck_supported_distributions:
- name: debian
version_min: 11
- name: ubuntu
version_min: 24

View File

@@ -1,4 +1,14 @@
--- ---
- name: Compatibility check
ansible.builtin.import_role:
name: uumas.general.compatcheck
vars:
compatcheck_supported_distributions:
- name: debian
version_min: 11
- name: ubuntu
version_min: 24
- name: Install prometheus node exporter - name: Install prometheus node exporter
ansible.builtin.apt: ansible.builtin.apt:
name: prometheus-node-exporter name: prometheus-node-exporter