{"id":50385215,"url":"https://github.com/stackhpc/ansible-slurm-exporter","last_synced_at":"2026-05-30T14:31:11.534Z","repository":{"id":43761976,"uuid":"205348665","full_name":"stackhpc/ansible-slurm-exporter","owner":"stackhpc","description":null,"archived":false,"fork":false,"pushed_at":"2019-09-11T14:56:52.000Z","size":190,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-14T22:50:18.264Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stackhpc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-30T09:20:20.000Z","updated_at":"2022-07-07T15:45:12.000Z","dependencies_parsed_at":"2022-09-21T22:10:45.391Z","dependency_job_id":null,"html_url":"https://github.com/stackhpc/ansible-slurm-exporter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stackhpc/ansible-slurm-exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fansible-slurm-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fansible-slurm-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fansible-slurm-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fansible-slurm-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackhpc","download_url":"https://codeload.github.com/stackhpc/ansible-slurm-exporter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fansible-slurm-exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33696681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2026-05-30T14:31:09.459Z","updated_at":"2026-05-30T14:31:11.530Z","avatar_url":"https://github.com/stackhpc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp\u003e\u003cimg src=\"https://www.circonus.com/wp-content/uploads/2015/03/sol-icon-itOps.png\" alt=\"graph logo\" title=\"graph\" align=\"right\" height=\"60\" /\u003e\u003c/p\u003e\n\n# Ansible Role: prometheus slurm exporter\n\n[![Build Status](https://travis-ci.com/stackhpc/ansible-slurm-exporter.svg?branch=master)](https://travis-ci.org/stackhpc/ansible-slurm-exporter)\n[![License](https://img.shields.io/badge/license-MIT%20License-brightgreen.svg)](https://opensource.org/licenses/MIT)\n[![Ansible Role](https://img.shields.io/badge/ansible%20role-stackhpc.slurm_exporter-blue.svg)](https://galaxy.ansible.com/stackhpc/slurm-exporter/)\n[![GitHub tag](https://img.shields.io/github/tag/stackhpc/ansible-slurm-exporter.svg)](https://github.com/stackhpc/ansible-slurm-exporter/tags)\n[![IRC](https://img.shields.io/badge/irc.freenode.net-%23stackhpc-yellow.svg)](https://kiwiirc.com/nextclient/#ircs://irc.freenode.net/#stackhpc)\n\n## Description\n\nDeploy prometheus [slurm exporter](https://github.com/vpenso/prometheus-slurm-exporter) using ansible.\n\n## Requirements\n\n- Ansible \u003e= 2.6 (It might work on previous versions, but we cannot guarantee it)\n- gnu-tar on Mac deployer host (`brew install gnu-tar`)\n\n## Role Variables\n\nAll variables which can be overridden are stored in [defaults/main.yml](defaults/main.yml) file as well as in table below.\n\n| Name           | Default Value | Description                        |\n| -------------- | ------------- | -----------------------------------|\n| `slurm_exporter_version` | \"0.8\"    | Slurm exporter package version. Also accepts latest as parameter. |\n| `slurm_exporter_web_listen_address` | \"0.0.0.0:9100\" | Address on which node exporter will listen |\n| `slurm_exporter_system_group` | \"slurm-exp\" | System group used to run slurm_exporter |\n| `slurm_exporter_system_user` | \"slurm-exp\" | System user used to run slurm_exporter |\n\n## Example\n\n### Playbook\n\nUse it in a playbook as follows:\n```yaml\n- hosts: all\n  roles:\n    - stackhpc.slurm-exporter\n```\n\n## Local Testing\n\nThe preferred way of locally testing the role is to use Docker and [molecule](https://github.com/metacloud/molecule) (v2.x). You will have to install Docker on your system. See \"Get started\" for a Docker package suitable to for your system.\nWe are using tox to simplify process of testing on multiple ansible versions. To install tox execute:\n```sh\npip3 install tox\n```\nTo run tests on all ansible versions (WARNING: this can take some time)\n```sh\ntox\n```\nTo run a custom molecule command on custom environment with only default test scenario:\n```sh\ntox -e py35-ansible28 -- molecule test -s default\n```\nFor more information about molecule go to their [docs](http://molecule.readthedocs.io/en/latest/).\n\nIf you would like to run tests on remote docker host just specify `DOCKER_HOST` variable before running tox tests.\n\n## Travis CI\n\nCombining molecule and travis CI allows us to test how new PRs will behave when used with multiple ansible versions and multiple operating systems. This also allows use to create test scenarios for different role configurations. As a result we have a quite large test matrix which will take more time than local testing, so please be patient.\n\n## Contributing\n\nSee [contributor guideline](CONTRIBUTING.md).\n\n## License\n\nThis project is licensed under MIT License. See [LICENSE](/LICENSE) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackhpc%2Fansible-slurm-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackhpc%2Fansible-slurm-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackhpc%2Fansible-slurm-exporter/lists"}