Ansible role for
node_exporter - forked from github.com/geerlingguy/ansible-role-node_exporter
Integrated into https://codefloe.com/devxy/ansible-sysadmin collection
- Jinja 81.8%
- JavaScript 18.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .crow | ||
| defaults | ||
| handlers | ||
| meta | ||
| molecule/default | ||
| tasks | ||
| templates | ||
| .ecrc | ||
| .editorconfig | ||
| .gitignore | ||
| .markdownlint.yaml | ||
| .pre-commit-config.yaml | ||
| .prettierignore | ||
| .prettierrc.json | ||
| .yamllint | ||
| commitlint.config.mjs | ||
| LICENSE | ||
| README.md | ||
| renovate.json | ||
node_exporter
node_exporter role, forked from geerlingguy/ansible-role-node_exporter v2.1.1
Installation
Ansible Galaxy:
ansible-galaxy install git+https://codefloe.com/devxy/ansible-node_exporter.git
Via requirements.yml:
roles:
- src: https://codefloe.com/devxy/ansible-node_exporter.git
scm: git
name: devxy.node_exporter
Features
check_modesupport - Run the role in dry-run mode to see what changes would be made- Automatic latest version detection
- Systemd service management
- User creation and management
Usage
Basic Usage
- hosts: all
roles:
- devxy.node_exporter
Check Mode Support
The role supports Ansible's check mode (dry-run) to preview changes without making them:
- hosts: all
roles:
- devxy.node_exporter
check_mode: true
Or run with the --check flag:
ansible-playbook playbook.yml --check
Testing Check Mode
A test playbook is included to verify check mode functionality:
ansible-playbook test-check-mode.yml --check
Variables
See defaults/main.yml for all available variables and their default values.
License
MIT
No matching headings