From c59483a92f372885761b48f64394a59a8568d2b8 Mon Sep 17 00:00:00 2001 From: gardar Date: Mon, 16 Sep 2024 17:42:03 +0000 Subject: [PATCH] refactor: make systemd_exporter molecule config be in line with other roles Signed-off-by: gardar --- roles/systemd_exporter/molecule/default/molecule.yml | 3 ++- roles/systemd_exporter/molecule/default/playbook.yml | 8 -------- roles/systemd_exporter/molecule/latest/molecule.yml | 3 ++- roles/systemd_exporter/molecule/latest/playbook.yml | 8 -------- 4 files changed, 4 insertions(+), 18 deletions(-) delete mode 100644 roles/systemd_exporter/molecule/default/playbook.yml delete mode 100644 roles/systemd_exporter/molecule/latest/playbook.yml diff --git a/roles/systemd_exporter/molecule/default/molecule.yml b/roles/systemd_exporter/molecule/default/molecule.yml index 5874a762e..93423d98d 100644 --- a/roles/systemd_exporter/molecule/default/molecule.yml +++ b/roles/systemd_exporter/molecule/default/molecule.yml @@ -2,4 +2,5 @@ provisioner: inventory: group_vars: - all: {} + all: + systemd_exporter_web_listen_address: "127.0.0.1:9558" diff --git a/roles/systemd_exporter/molecule/default/playbook.yml b/roles/systemd_exporter/molecule/default/playbook.yml deleted file mode 100644 index 88cf6e971..000000000 --- a/roles/systemd_exporter/molecule/default/playbook.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -- name: Run role - hosts: all - any_errors_fatal: true - roles: - - prometheus.prometheus.systemd_exporter - vars: - systemd_exporter_web_listen_address: "127.0.0.1:9558" diff --git a/roles/systemd_exporter/molecule/latest/molecule.yml b/roles/systemd_exporter/molecule/latest/molecule.yml index 5874a762e..9cbfc8446 100644 --- a/roles/systemd_exporter/molecule/latest/molecule.yml +++ b/roles/systemd_exporter/molecule/latest/molecule.yml @@ -2,4 +2,5 @@ provisioner: inventory: group_vars: - all: {} + all: + systemd_exporter_version: latest diff --git a/roles/systemd_exporter/molecule/latest/playbook.yml b/roles/systemd_exporter/molecule/latest/playbook.yml deleted file mode 100644 index 2bde8cf06..000000000 --- a/roles/systemd_exporter/molecule/latest/playbook.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -- name: Run role - hosts: all - any_errors_fatal: true - roles: - - prometheus.prometheus.systemd_exporter - vars: - systemd_exporter_version: latest