You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Davo 61d5e88cbd updated to always use newest version of node_exporter and fix firewalld tasks 2 years ago
defaults revison 2.0 3 years ago
files added restart on failure 3 years ago
handlers updated to always use newest version of node_exporter and fix firewalld tasks 2 years ago
tasks updated to always use newest version of node_exporter and fix firewalld tasks 2 years ago
README.md copy readme from another projects is not worth 3 years ago

README.md

Ansible role for deploy node-exporter packages and services. You can add custom ports via variables bellow.

This role is developed with Ansible 2.9.6 and tested on Ubuntu 20.04 LTS.

Role Variables

Variable Required Default Comments
additional_ports No {} Add aditional ports while using this role

Requirements

Ansible.posix collection

To install it, use the following command:

ansible-galaxy collection install ansible.posix

Run node-exporter role with default settings

  roles:
     - sw-node-exporter

Run node-exporter role with custom variables

  roles:
     - sw-node-exporter
  vars:
     - additional_ports:
        - 80/tcp
        - 443/tcp
        - 25565/udp