{"id":22845468,"url":"https://github.com/idealista/prometheus_node_exporter_role","last_synced_at":"2025-04-28T16:43:53.523Z","repository":{"id":46725246,"uuid":"84813341","full_name":"idealista/prometheus_node_exporter_role","owner":"idealista","description":"Ansible role to install Prometheus node metrics exporter","archived":false,"fork":false,"pushed_at":"2024-04-29T14:30:47.000Z","size":214,"stargazers_count":3,"open_issues_count":0,"forks_count":7,"subscribers_count":25,"default_branch":"develop","last_synced_at":"2025-03-30T11:24:25.771Z","etag":null,"topics":["ansible","debian","prometheus"],"latest_commit_sha":null,"homepage":"","language":"YAML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/idealista.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-13T10:23:23.000Z","updated_at":"2024-04-29T13:23:23.000Z","dependencies_parsed_at":"2024-04-29T08:46:47.259Z","dependency_job_id":"cbca7a10-1dd6-42f7-a86a-b2f423208936","html_url":"https://github.com/idealista/prometheus_node_exporter_role","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fprometheus_node_exporter_role","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fprometheus_node_exporter_role/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fprometheus_node_exporter_role/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fprometheus_node_exporter_role/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idealista","download_url":"https://codeload.github.com/idealista/prometheus_node_exporter_role/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251347839,"owners_count":21575161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","debian","prometheus"],"created_at":"2024-12-13T03:17:20.643Z","updated_at":"2025-04-28T16:43:53.503Z","avatar_url":"https://github.com/idealista.png","language":"YAML","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Logo](https://raw.githubusercontent.com/idealista/prometheus_node_exporter_role/master/logo.gif)\n\n[![Build Status](https://travis-ci.org/idealista/prometheus_node_exporter_role.png)](https://travis-ci.org/idealista/prometheus_node_exporter_role)\n[![Ansible Galaxy](https://img.shields.io/badge/galaxy-idealista.prometheus_node_exporter_role-B62682.svg)](https://galaxy.ansible.com/idealista/prometheus_node_exporter_role)\n\n# Prometheus Node Exporter Ansible role\n\nThis ansible role installs a Prometheus Node Exporter in a Debian environment.\n\n- [Getting Started](#getting-started)\n\t- [Prerequisities](#prerequisities)\n\t- [Installing](#installing)\n- [Usage](#usage)\n- [Testing](#testing)\n- [Built With](#built-with)\n- [Versioning](#versioning)\n- [Authors](#authors)\n- [License](#license)\n- [Contributing](#contributing)\n\n## Getting Started\n\nThese instructions will get you a copy of the role for your Ansible playbook. Once launched, it will install an [Prometheus Node Exporter](https://github.com/prometheus/node_exporter) server in a Debian system.\n\n*Note:* Beginning with the 4.0 version, the default behaviour is the service sending logs to systemd's journal instead to a log file. You can change it modifying the necessary ansible vars (see defaults/main.yml)\n### Prerequisities\n\nAnsible \u003e= 2.9.0.0 version installed.\nInventory destination should be a Debian environment.\n\nFor testing purposes, [Molecule](https://molecule.readthedocs.io/) with [Docker](https://www.docker.com/) as driver.\n\n### Installing\n\nCreate or add to your roles dependency file (e.g requirements.yml):\n\n```\n- src: idealista.prometheus_node_exporter_role\n  version: 5.3.0\n  name: prometheus_node_exporter\n```\n\nInstall the role with ansible-galaxy command:\n\n```\nansible-galaxy install -p roles -r requirements.yml -f\n```\n\nUse in a playbook:\n\n```\n---\n- hosts: someserver\n  roles:\n    - role: prometheus_node_exporter\n```\n\n## Usage\n\nLook to the [defaults](defaults/main.yml) properties file to see the possible configuration properties.\n\n## Testing\n\n### Install dependencies\n\n```sh\n$ pipenv sync\n```\n\nFor more information read the [pipenv docs](https://docs.pipenv.org/).\n\n### Testing\n\n```sh\n$ pipenv run molecule test \n```\n\n## Built With\n\n![Ansible](https://img.shields.io/badge/ansible-4.2.0-green.svg)\n![Molecule](https://img.shields.io/badge/molecule-3.3.4-green.svg)\n![Goss](https://img.shields.io/badge/goss-0.3.13-green.svg)\n\n## Versioning\n\nFor the versions available, see the [tags on this repository](https://github.com/idealista/prometheus_node_exporter_role/tags).\n\nAdditionaly you can see what change in each version in the [CHANGELOG.md](CHANGELOG.md) file.\n\n## Authors\n\n* **Idealista** - *Work with* - [idealista](https://github.com/idealista)\n\nSee also the list of [contributors](https://github.com/idealista/prometheus_node_exporter_role/contributors) who participated in this project.\n\n## License\n\n![Apache 2.0 License](https://img.shields.io/hexpm/l/plug.svg)\n\nThis project is licensed under the [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0) license - see the [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](.github/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidealista%2Fprometheus_node_exporter_role","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidealista%2Fprometheus_node_exporter_role","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidealista%2Fprometheus_node_exporter_role/lists"}