No description
Find a file
semantic-release-bot 371f815335 chore(release): 1.5.0 [skip ci]
# [1.5.0](https://github.com/de-it-krachten/ansible-role-grype/compare/v1.4.0...v1.5.0) (2026-03-15)

### Features

* Added support for Fedora 43 ([20d7376](20d7376da4))
* Drop support for Fedora 41 ([ab047cf](ab047cf564))
* Drop support for openSUSE Leap 15 ([7776dcc](7776dcc06f))
* Drop support for SUSE Linux Enterprise 15 ([dd925b2](dd925b24cc))
2026-03-15 11:37:59 +00:00
.github/workflows Update CI 2026-03-14 19:34:15 +01:00
defaults feat: Initial release 2022-12-15 00:03:06 +01:00
meta Update CI 2026-03-14 19:34:15 +01:00
molecule/default Update CI 2026-03-14 19:34:15 +01:00
tasks Update supported platforms & CI 2025-08-06 20:08:31 +02:00
.ansible-lint Initial commit 2022-12-14 23:54:28 +01:00
.cicd Update CI 2026-03-06 22:40:42 +01:00
.cicd.overwrite Update CI 2026-03-14 19:34:15 +01:00
.collections feat: Add support for Ubuntu 24.04 LTS + Fedora 40 2024-05-31 23:15:48 +02:00
.gitignore feat: Update supported platforms & CI 2024-12-29 02:09:23 +01:00
.releaserc.yml Update CI 2026-03-06 22:40:42 +01:00
.roles Initial commit 2022-12-14 23:54:28 +01:00
.yamllint feat: Update supported platforms & CI 2024-12-29 02:09:23 +01:00
CHANGELOG.md chore(release): 1.5.0 [skip ci] 2026-03-15 11:37:59 +00:00
README.md Update CI 2026-03-14 19:34:15 +01:00

CI

ansible-role-grype

Installs grype, a vulnerability scanner for container images and filesystems
https://github.com/anchore/grype

Dependencies

Roles

None

Collections

None

Platforms

Supported platforms

  • Red Hat Enterprise Linux 81
  • Red Hat Enterprise Linux 91
  • Red Hat Enterprise Linux 101
  • RockyLinux 8
  • RockyLinux 9
  • RockyLinux 10
  • OracleLinux 8
  • OracleLinux 9
  • OracleLinux 10
  • AlmaLinux 8
  • AlmaLinux 9
  • AlmaLinux 10
  • Debian 11 (Bullseye)
  • Debian 12 (Bookworm)
  • Debian 13 (Trixie)
  • Ubuntu 20.04 LTS
  • Ubuntu 22.04 LTS
  • Ubuntu 24.04 LTS
  • Fedora 42
  • Fedora 43

Note: 1 : no automated testing is performed on these platforms

Role Variables

defaults/main.yml


# Github CLI - API
grype_api: https://api.github.com/repos/anchore/grype

# Github CLI - repo
grype_repo: https://github.com/anchore/grype

# Lookup table for architecture
grype:
  architecture:
    x86_64: amd64
  system:
    Linux: linux
    Darwin: darwin

# Version of the CLI to install
grype_version: latest

# Location/ownership/permissions of the binary
grype_path: /usr/local/bin/grype
grype_owner: root
grype_group: root
grype_mode: '0755'

Example Playbook

molecule/default/converge.yml


- name: sample playbook for role 'grype'
  hosts: all
  become: 'yes'
  tasks:
    - name: Include role 'grype'
      ansible.builtin.include_role:
        name: grype