{"id":28913762,"url":"https://github.com/thystips/ansible-role-gh-assets","last_synced_at":"2026-02-03T15:32:06.482Z","repository":{"id":254331244,"uuid":"846214990","full_name":"thystips/ansible-role-gh-assets","owner":"thystips","description":"Get assets from Github Releases with Ansible","archived":false,"fork":false,"pushed_at":"2024-12-13T16:36:50.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-21T21:11:32.698Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thystips.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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,"zenodo":null}},"created_at":"2024-08-22T18:45:26.000Z","updated_at":"2024-12-13T16:36:52.000Z","dependencies_parsed_at":"2024-08-22T21:05:48.992Z","dependency_job_id":"ca2f17d8-0476-49c7-9eed-fc408c6c4d99","html_url":"https://github.com/thystips/ansible-role-gh-assets","commit_stats":null,"previous_names":["thystips/ansible-role-gh-assets"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/thystips/ansible-role-gh-assets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thystips%2Fansible-role-gh-assets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thystips%2Fansible-role-gh-assets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thystips%2Fansible-role-gh-assets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thystips%2Fansible-role-gh-assets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thystips","download_url":"https://codeload.github.com/thystips/ansible-role-gh-assets/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thystips%2Fansible-role-gh-assets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29047887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T15:19:55.533Z","status":"ssl_error","status_checked_at":"2026-02-03T15:13:09.723Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2025-06-21T21:10:16.793Z","updated_at":"2026-02-03T15:32:06.472Z","avatar_url":"https://github.com/thystips.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nSPDX-FileCopyrightText: 2024 ThysTips \u003ccontact@thystips.net\u003e\n\nSPDX-License-Identifier: GPL-3.0-or-later\n--\u003e\n\nAnsible Role: gh_assets\n=========\n\nDownload assets from a Github Release.\n\nTODO\n---\n\n- Add tests\n\nRequirements\n------------\n\nN/A\n\nRole Variables\n--------------\n\n- `gh_assets_github_token` | str : Github Personal Access Token to access private repositories (check `GH_TOKEN` env variable if unset).\n- `gh_assets_github_api_version` | str : Github API version to use (default: `2022-11-28` : [](https://docs.github.com/fr/rest/about-the-rest-api/api-versions)).\n- `gh_assets_src` | {} : Object containing the source repository and release to download assets from.\n  - `repo` | str : Repository name\n  - `owner` | str : Repository owner\n  - `tag` | str : Release tag - `latest` (get latest release) or specific tag set\n  - `download_sources_tarball` | bool : Download sources tarball (default: `false`)\n  - `download_assets` | bool : Download assets (default: `true`) - useful to download sources only\n  - `download_all_assets` | bool : Download all assets (default: `false`) - if `true`, all assets will be downloaded\n  - `asset_name` | str : Asset name to download (default: undefined) - if not set and `download_all_assets` is `false`, the first asset will be downloaded\n- `gh_assets_dst` | {} : Object containing the destination directory to download assets to.\n  - `path` | str : Directory to download assets to (default: `/tmp`)\n  - `asset_name` | str : File name for downloaded asset (default undefined) - if not set and `download_all_assets` is `false`, asset keeps its original name\n  - `tarball_name` | str : File name for downloaded sources tarball (default undefined) - if not set, tarball keeps its original name (`\u003crepo-name\u003e-\u003ctag-name\u003e`)\n  - `owner` | str : Owner of the directory (optional)\n  - `group` | str : Group of the directory (optional)\n  - `mode` | str : Mode of the directory (optional)\n\nDependencies\n------------\n\nN/A\n\nExample Playbook\n----------------\n\nIncluding an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:\n\n    - hosts: servers\n      roles:\n         - role: weytop.infrastructure.gh_assets\n           gh_assets_github_token: \"your_github_token\"\n           gh_assets_src:\n             owner: \"grafana\"\n             repo: \"mimir\"\n             asset_name: \"mimir-linux-amd64-sha-256\"\n\nLicense\n-------\n\nGPL-3.0-or-later\n\nAuthor Information\n------------------\n\nThis role was created in 2024 by [ThysTips](https://thystips.net).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthystips%2Fansible-role-gh-assets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthystips%2Fansible-role-gh-assets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthystips%2Fansible-role-gh-assets/lists"}