exzeo.trivy

Ansible 角色 trivy

在 Debian/Ubuntu 服务器上安装 Helm 命令行工具。 版本发布地址: https://github.com/aquasecurity/trivy/releases

角色变量

# 要安装的 'trivy' 版本,默认为最新版本
trivy_version: ""

# 切换此项将从服务器卸载
uninstall: false

示例剧本

最小化示例:

- name: 安装 CLI
  hosts: all
  roles:
    - role: exzeo.trivy

指定版本:

- name: 安装 CLI
  hosts: all
  roles:
    - role: exzeo.trivy
      vars:
        trivy_version: "0.27.1"

卸载:

- name: 安装 CLI
  hosts: all
  roles:
    - role: exzeo.trivy
      vars:
        uninstall: true
安装
ansible-galaxy install exzeo.trivy
许可证
mit
下载
110
拥有者