Skip to content

Latest commit

 

History

History

node_exporter

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

ethpandaops.general.node_exporter

This role will run node exporter within a docker container.

Requirements

You'll need docker on the target system. Make sure to install it upfront.

Role Variables

Default variables are defined in defaults/main.yaml

Dependencies

You'll need docker to run this role. One way of installing docker could be via ansible galaxy with the following dependencies set within requirements.yaml:

roles:
- src: geerlingguy.docker
  version: latest
- src: geerlingguy.pip
  version: latest

Example Playbook

Your playbook could look like this:

- hosts: localhost
  become: true
  roles:
  - role: geerlingguy.docker
  - role: geerlingguy.pip
    pip_install_packages:
    - name: docker
  - role: ethpandaops.general.node_exporter