{"id":15878864,"url":"https://github.com/darkwizard242/ansible-role-syft","last_synced_at":"2026-04-02T10:33:31.150Z","repository":{"id":37080415,"uuid":"441732585","full_name":"darkwizard242/ansible-role-syft","owner":"darkwizard242","description":"Ansible role for 'syft'. Available on Ansible Galaxy. ","archived":false,"fork":false,"pushed_at":"2026-01-27T18:47:51.000Z","size":154,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-28T04:59:11.442Z","etag":null,"topics":["ansible","ansible-galaxy","ansible-role","linux","sbom","sbom-generator","syft"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/darkwizard242/syft","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/darkwizard242.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":null,"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":"2021-12-25T18:05:05.000Z","updated_at":"2026-01-27T18:47:54.000Z","dependencies_parsed_at":"2023-09-27T22:59:46.551Z","dependency_job_id":"d03aaff9-7af3-46f5-b0b3-89634407d266","html_url":"https://github.com/darkwizard242/ansible-role-syft","commit_stats":{"total_commits":233,"total_committers":2,"mean_commits":116.5,"dds":"0.0042918454935622075","last_synced_commit":"ba314949bddab12597dd40e15d0fbd400977c34b"},"previous_names":[],"tags_count":128,"template":false,"template_full_name":null,"purl":"pkg:github/darkwizard242/ansible-role-syft","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-syft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-syft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-syft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-syft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkwizard242","download_url":"https://codeload.github.com/darkwizard242/ansible-role-syft/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-syft/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29433304,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T02:20:56.896Z","status":"ssl_error","status_checked_at":"2026-02-14T02:11:29.478Z","response_time":53,"last_error":"SSL_read: 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","ansible-galaxy","ansible-role","linux","sbom","sbom-generator","syft"],"created_at":"2024-10-06T02:42:09.450Z","updated_at":"2026-04-02T10:33:31.144Z","avatar_url":"https://github.com/darkwizard242.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![build-test](https://github.com/darkwizard242/ansible-role-syft/workflows/build-and-test/badge.svg?branch=master)](https://github.com/darkwizard242/ansible-role-syft/actions?query=workflow%3Abuild-and-test) [![release](https://github.com/darkwizard242/ansible-role-syft/workflows/release/badge.svg)](https://github.com/darkwizard242/ansible-role-syft/actions?query=workflow%3Arelease) ![Ansible Role](https://img.shields.io/ansible/role/d/darkwizard242/syft) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-syft\u0026metric=sqale_rating)](https://sonarcloud.io/dashboard?id=ansible-role-syft) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-syft\u0026metric=reliability_rating)](https://sonarcloud.io/dashboard?id=ansible-role-syft) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-syft\u0026metric=security_rating)](https://sonarcloud.io/dashboard?id=ansible-role-syft) ![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/darkwizard242/ansible-role-syft?label=release) ![GitHub repo size](https://img.shields.io/github/repo-size/darkwizard242/ansible-role-syft?color=orange\u0026style=flat-square)\n\n# Ansible Role: syft\n\nRole to install (_by default_) [syft](https://github.com/anchore/syft) on **Debian/Ubuntu** and **EL** systems. A CLI tool and Go library for generating a Software Bill of Materials (SBOM) from container images and filesystems.\n\n## Requirements\n\nNone.\n\n## Role Variables\n\nAvailable variables are listed below (located in `defaults/main.yml`):\n\n### Variables list:\n\n```yaml\nsyft_app: syft\nsyft_desired_state: present\nsyft_version: 1.42.3\nsyft_os: \"{{ ansible_system | lower }}\"\nsyft_architecture_map:\n  amd64: amd64\n  arm: arm64\n  x86_64: amd64\n  armv6l: armv6\n  armv7l: armv7\n  aarch64: arm64\n  32-bit: \"386\"\n  64-bit: amd64\n\n# For Debian/Ubuntu Family\nsyft_debian_url: \"https://github.com/anchore/{{ syft_app }}/releases/download/v{{ syft_version }}/{{ syft_app }}_{{ syft_version }}_{{ syft_os }}_{{ syft_architecture_map[ansible_architecture] }}.deb\"\n\n# For EL Family\nsyft_el_url: \"https://github.com/anchore/{{ syft_app }}/releases/download/v{{ syft_version }}/{{ syft_app }}_{{ syft_version }}_{{ syft_os }}_{{ syft_architecture_map[ansible_architecture] }}.rpm\"\n```\n\n### Variables table:\n\nVariable              | Description\n--------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------\nsyft_app              | Defines the app to install i.e. **syft**\nsyft_desired_state    | Defined to dynamically chose whether to install (i.e. either `present` or `latest`) or uninstall (i.e. `absent`) the package. Defaults to `present`.\nsyft_version          | Defined to dynamically fetch the desired version to install. Defaults to: **1.42.3**\nsyft_os               | Defines os type. Used for obtaining the correct type of binaries based on OS type.\nsyft_architecture_map | Defines os architecture. Used for obtaining the correct type of binaries based on OS System Architecture.\nsyft_debian_url       | Defines URL to download the 'deb' package from for Debian/Ubuntu family systems.\nsyft_el_url           | Defines URL to download the 'rpm' package from for EL family systems.\n\n## Dependencies\n\nNone\n\n## Example Playbook\n\nFor default behaviour of role (i.e. installation of **syft**) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.syft\n```\n\nFor customizing behavior of role (i.e. specifying the desired **syft** version) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.syft\n  vars:\n    syft_version: 0.32.2\n```\n\nFor customizing behavior of role (i.e. different os architecture of **syft** package like arm64) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.syft\n  vars:\n    syft_arch: \"arm64\"\n```\n\n## License\n\n[MIT](https://github.com/darkwizard242/ansible-role-syft/blob/master/LICENSE)\n\n## Author Information\n\nThis role was created by [Ali Muhammad](https://www.alimuhammad.dev)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkwizard242%2Fansible-role-syft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkwizard242%2Fansible-role-syft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkwizard242%2Fansible-role-syft/lists"}