No description
Find a file
2026-04-05 19:45:53 +00:00
defaults initial commit 2026-04-05 19:45:53 +00:00
meta initial commit 2026-04-05 19:45:53 +00:00
tasks initial commit 2026-04-05 19:45:53 +00:00
.gitignore initial commit 2026-04-05 19:45:53 +00:00
README.md initial commit 2026-04-05 19:45:53 +00:00

ansible-roles-smartctl-exporter

- name: Setup node-exporters
  hosts: node-exporter
  become: true
  roles:
    - role: node-exporter
      smartctl_exporter_container: quay.io/prometheus/node-exporter:v1.8.2
      smartctl_exporter_port: 9200
    - role: firewalld
      firewalld_add:
        - name: internal
          ports:
            - 9200/tcp

Deploy the role with the following command

ansible-playbook -i hosts site.yml --tags=node-exporter --limit=somehost