tomhesse.tibber_exporter

Role Name

This is an Ansible Role that installs the Tibber Exporter on Linux systems.

Requirements

No special requirements are needed.

Role Variables

Here are the variables you can use, along with their default values (found in defaults/main.yml):

  • tibber_exporter_version: 3.6.4

    • This is the version that will be installed.
  • tibber_exporter_binary_local_dir: ""

    • You can specify a local binary to install instead of downloading the remote one.
  • tibber_exporter_binary_url: "https://github.com/{{ _tibber_exporter_repo }}/releases/download/tibber-exporter-{{ tibber_exporter_version }}/tibber-exporter-{{ tibber_exporter_version }}-linux-{{ go_arch }}.tar.gz"

    • This is the link where the binary will be downloaded from.
  • tibber_exporter_skip_install: false

    • Set this to skip the installation and only manage the configuration.
  • tibber_exporter_binary_install_dir: "/usr/local/bin"

  • tibber_exporter_system_group: "tibber-exp"

  • tibber_exporter_system_user: "{{ tibber_exporter_system_group }}"

    • These are options for installing Tibber Exporter.
  • tibber_exporter_archive_path: "/tmp"

    • This is where the binary will be downloaded.

Dependencies

There are no dependencies for this role.

Example Playbook

Here is an example of how to use the role in a playbook:

- hosts: all
  roles:
    - role: tomhesse.tibber_exporter
      vars:
        tibber_exporter_api_token: "Your-Tibber-API-Token"

License

MIT / BSD

Author Information

This role was created in 2024 by tomhesse.

Installa
ansible-galaxy install tomhesse.tibber_exporter
Licenza
mit
Download
119
Proprietario
Linux administrator and metalhead.