{"id":19838570,"url":"https://github.com/metal-stack/metal-roles","last_synced_at":"2026-05-22T12:00:56.780Z","repository":{"id":37096326,"uuid":"239787062","full_name":"metal-stack/metal-roles","owner":"metal-stack","description":"Ansible roles for deploying metal-stack","archived":false,"fork":false,"pushed_at":"2026-02-25T15:01:16.000Z","size":1729,"stargazers_count":4,"open_issues_count":33,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-02-25T18:14:24.224Z","etag":null,"topics":["ansible-roles"],"latest_commit_sha":null,"homepage":"","language":"Jinja","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/metal-stack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-02-11T14:50:20.000Z","updated_at":"2026-02-25T15:03:37.000Z","dependencies_parsed_at":"2023-09-22T19:14:45.757Z","dependency_job_id":"42e268f8-2f27-4d7d-aac4-deb48bb03f91","html_url":"https://github.com/metal-stack/metal-roles","commit_stats":null,"previous_names":[],"tags_count":214,"template":false,"template_full_name":null,"purl":"pkg:github/metal-stack/metal-roles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Fmetal-roles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Fmetal-roles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Fmetal-roles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Fmetal-roles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metal-stack","download_url":"https://codeload.github.com/metal-stack/metal-roles/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Fmetal-roles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30076935,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T08:01:56.766Z","status":"ssl_error","status_checked_at":"2026-03-04T08:00:42.919Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ansible-roles"],"created_at":"2024-11-12T12:18:18.672Z","updated_at":"2026-03-04T09:03:21.038Z","avatar_url":"https://github.com/metal-stack.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# metal-roles\n\nThis repository contains Ansible roles for deploying metal-stack. It does not contain any specific playbooks.\n\nThe metal-stack primarily consists of a control plane and partitions that register at the control plane. For this reason, the roles in this repository are divided into two separate folders, one containing roles relevant for the control plane and another directory containing roles for bootstrapping a partition. Please find more documentation in the respective sub folders:\n\n- [Control Plane Deployment](control-plane)\n- [Partition Deployment](partition)\n\n## Usage\n\nIt's convenient to use ansible-galaxy in order to use this project. The roles of this repository depend on roles, modules and plugins of the project [ansible-common](https://github.com/metal-stack/ansible-common).\n\nFor your deployment project, set up a `requirements.yml`:\n\n```yaml\n- src: https://github.com/metal-stack/ansible-common.git\n  name: ansible-common\n  version: master # use release versions if you want to have stable deployment!\n- src: https://github.com/metal-stack/metal-roles.git\n  name: metal-roles\n  version: master # use release versions if you want to have stable deployment!\n\n# you can find release versions here: https://github.com/metal-stack/releases\n```\n\nYou can then download the roles with the following command:\n\n```bash\nansible-galaxy install -r requirements.yml\n```\n\nAn example for how to use this project can be found in the [mini-lab](https://github.com/metal-stack/mini-lab) project.\n\n## Resolving Image Versions\n\nMany roles require names and tags of the microservices to be set explicitly. You can, however, make use of the [setup_yaml](https://github.com/metal-stack/ansible-common/blob/master/library/setup_yaml.py) module, which fetches image release versions from the [release](https://github.com/metal-stack/releases) vector. This way, you only need to define the following data structure somewhere in your playbooks:\n\n```yaml\nsetup_yaml:\n  - url: https://raw.githubusercontent.com/metal-stack/releases/master/release.yaml\n    meta_var: metal_stack_release\n    # the metal_stack_release variable is provided through role defaults of this project\n    # use release versions if you want to have stable deployment!\n```\n\n## Variables\n\nThere are [global defaults](./common/roles/defaults/defaults/main.yaml) for all roles of this project defined.\n\n| Name                         | Mandatory | Description                                    |\n| ---------------------------- | --------- | ---------------------------------------------- |\n| metal_registry_auth_enabled  |           | Enables deployment of image pull secrets       |\n| metal_registry_auth_user     |           | The default auth user for the registry         |\n| metal_registry_auth_password |           | The password for the user of the registry      |\n| metal_registry_url           |           | The Container-registry url, default is docker. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetal-stack%2Fmetal-roles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetal-stack%2Fmetal-roles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetal-stack%2Fmetal-roles/lists"}