{"id":19838550,"url":"https://github.com/metal-stack/metal-ansible-collections","last_synced_at":"2025-02-28T18:52:19.007Z","repository":{"id":103394157,"uuid":"607621297","full_name":"metal-stack/metal-ansible-collections","owner":"metal-stack","description":"This repository contains Ansible collections for deploying metal-stack.","archived":false,"fork":false,"pushed_at":"2024-03-05T08:40:56.000Z","size":265,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-11T11:18:00.078Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","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":"CONTRIBUTING.md","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}},"created_at":"2023-02-28T10:50:10.000Z","updated_at":"2024-03-05T08:41:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"1a7789dc-6f93-458e-826c-4875cda15b41","html_url":"https://github.com/metal-stack/metal-ansible-collections","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Fmetal-ansible-collections","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Fmetal-ansible-collections/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Fmetal-ansible-collections/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Fmetal-ansible-collections/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metal-stack","download_url":"https://codeload.github.com/metal-stack/metal-ansible-collections/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241203662,"owners_count":19926835,"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":[],"created_at":"2024-11-12T12:18:09.737Z","updated_at":"2025-02-28T18:52:18.990Z","avatar_url":"https://github.com/metal-stack.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Metal Ansible Collections\n\nThis repository contains Ansible collections for deploying metal-stack.\n\nThe metal-stack primarily consists of a control plane and partitions that register at the control plane. For this reason, there are two further collections in this repository, one containing the parts relevant for the control plane deployment and another one containing roles for bootstrapping a partition. Please find more documentation in the respective sub folders:\n\n- [metalstack.controlplane](controlplane)\n- [metalstack.partition](partition)\n\nFurthermore, there is a place where common roles / modules / plugins are located. It's inside the following collection:\n\n- [metalstack.common](common)\n\n## Usage\n\nIt's convenient to use ansible-galaxy in order to use this project.\n\nFor your deployment project, set up a `requirements.yml`:\n\n```yaml\ncollections:\n  - name: https://github.com/metal-stack/metal-ansible-collections\n    version: main # use release versions if you want to have stable deployment!\n    type: git\n\n# you can find release versions here: https://github.com/metal-stack/releases\n```\n\nYou can then download the collections 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](common/plugins/modules/setup_yaml.py) action plugin, 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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetal-stack%2Fmetal-ansible-collections","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetal-stack%2Fmetal-ansible-collections","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetal-stack%2Fmetal-ansible-collections/lists"}