{"id":15151637,"url":"https://github.com/luzifer/ansible-role-version","last_synced_at":"2026-02-28T15:01:04.124Z","repository":{"id":57613230,"uuid":"116975818","full_name":"Luzifer/ansible-role-version","owner":"Luzifer","description":"Tool to update a requirements.yml file for Ansible Galaxy with specific versions of roles","archived":false,"fork":false,"pushed_at":"2018-03-19T17:26:58.000Z","size":10596,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T09:46:02.424Z","etag":null,"topics":["ansible","automation","galaxy","golang","tool"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Luzifer.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-10T15:33:30.000Z","updated_at":"2019-10-03T22:15:29.000Z","dependencies_parsed_at":"2022-09-13T16:00:22.553Z","dependency_job_id":null,"html_url":"https://github.com/Luzifer/ansible-role-version","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Luzifer/ansible-role-version","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzifer%2Fansible-role-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzifer%2Fansible-role-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzifer%2Fansible-role-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzifer%2Fansible-role-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Luzifer","download_url":"https://codeload.github.com/Luzifer/ansible-role-version/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luzifer%2Fansible-role-version/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29938962,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T13:49:17.081Z","status":"ssl_error","status_checked_at":"2026-02-28T13:48:50.396Z","response_time":90,"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","automation","galaxy","golang","tool"],"created_at":"2024-09-26T15:04:37.542Z","updated_at":"2026-02-28T15:01:04.067Z","avatar_url":"https://github.com/Luzifer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Go Report Card](https://goreportcard.com/badge/github.com/Luzifer/ansible-role-version)](https://goreportcard.com/report/github.com/Luzifer/ansible-role-version)\n![](https://badges.fyi/github/license/Luzifer/ansible-role-version)\n![](https://badges.fyi/github/downloads/Luzifer/ansible-role-version)\n![](https://badges.fyi/github/latest-release/Luzifer/ansible-role-version)\n\n# Luzifer / ansible-role-version\n\nVery simple tool to update a `requirements.yml` file for [Ansible Galaxy](https://galaxy.ansible.com/) with specific versions of roles.\n\n## Usage\n\nLets say you do have a repository containing this `requirements.yml`:\n\n```yaml\n---\n\n- name: docker\n  src: https://github.com/luzifer-ansible/docker\n  version: v0.1.0\n- name: docker-compose\n  src: https://github.com/luzifer-ansible/docker-compose\n  version: v1.0.0\n\n...\n```\n\nNow your CI system should update the version of `docker-compose` to `v1.0.1` and you don't want to fiddle with bash magic:\n\n```bash\n$ ansible-role-version set docker-compose v1.0.1\n```\n\nAnd you're done!\n\nSure, this example is a bit constructed: In reality this tool was written to update a bunch of different repositories each having a way bigger list of roles to include and the tool is used in a script to update all of them and create pull-requests out of the change.\n\nTo do so your requirements file needs to meet some requirements:\n\n- All roles do have their `src` set to a Git URL\n- Version is set to tags (if not it will be afterwards!)\n- The roles do have proper versioning with tags\n- The repos are public available (authentication while fetching the git repo is not yet supported)\n\nThen just execute:\n\n```console\n$ ansible-role-version update\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluzifer%2Fansible-role-version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluzifer%2Fansible-role-version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluzifer%2Fansible-role-version/lists"}