Ansible role for scaphandre
Go to file
n07070 47839fc045 Add molecule test structure 2024-03-01 11:01:31 +01:00
defaults Add basis of the role 2024-03-01 11:01:15 +01:00
handlers Add basis of the role 2024-03-01 11:01:15 +01:00
meta Add molecule test structure 2024-03-01 11:01:31 +01:00
molecule/default Add molecule test structure 2024-03-01 11:01:31 +01:00
tasks Add basis of the role 2024-03-01 11:01:15 +01:00
templates Add basis of the role 2024-03-01 11:01:15 +01:00
tests Add basis of the role 2024-03-01 11:01:15 +01:00
vars Add basis of the role 2024-03-01 11:01:15 +01:00
README.md Add README 2024-03-01 11:00:17 +01:00

README.md

Scaphandre

Your tech stack doesn't need so much energy

This role installs scaphandre and configures it's exporters.

Requirements

The role in itself does not have other requirements than Scaphandre. It's written with Debian Bookworm in mind.

Role Variables

scaphandre_arch: "deb12-arm64"

The architecture targeted.

scaphandre_version: "1.0.0"

Scaphandre's version.

scaphandre_home_dir: "/opt/scaphandre"

The home directory for the scaphandre user.

scaphandre_exporter: "prometheus"

Which exporter should we use. You can choose between :

  • prometheus
  • prometheus-push
  • json
  • riemann
  • warp10

scaphandre_exporter_web_listen_address: "localhost"

scaphandre_exporter_web_listen_port: "8085"

scaphandre_web_telemetry_path: "power-metrics"

scaphandre_web_telemetry_path: "/power-metris"

On which path will Scaphandre expose it's metrics.

Dependencies

N/A

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
     - role: hubblo.scaphandre

License

AGPLv3

Author Information

Written by N07070.