buluma.zabbix_repository

Ansible 角色 zabbix_repository

在您的系统上安装和配置 zabbix_repository。

GitHub 版本 问题 拉取请求 下载
github Version Issues PullRequests Ansible Role

示例剧本

该示例来源于 molecule/default/converge.yml,并在每次推送、拉取请求和发布时进行测试。

---
- name: Converge
  hosts: all
  become: true
  gather_facts: true

  roles:
    - role: buluma.zabbix_repository

机器需要进行准备。在持续集成中,这使用 molecule/default/prepare.yml 来完成:

---
- name: Prepare
  hosts: all
  gather_facts: false
  become: true

  roles:
    - role: buluma.bootstrap
    - role: buluma.ca_certificates

还可以查看 完整的解释和示例 了解如何使用这些角色。

角色变量

变量的默认值在 defaults/main.yml 中设置:

---
# zabbix_repository 的默认文件

# "zabbix_version_major" 是两个数字值,由一个点分隔。
zabbix_repository_version_major: "6.4"

# "zabbix_version_minor" 是一个数字值。
zabbix_repository_version_minor: 1

# RHEL9 需要一个额外的软件包(`crypto-policies-scripts`)。
# 该变量确定是否应该删除它。
zabbix_repository_cleanup_requirements: true

# 在 RHEL9 上必须修改加密策略。该变量确定
# 策略是否应切换回默认值。
zabbix_repository_revert_crypto_policy: true

需求

使用的角色状态

以下角色用于准备系统。您可以使用其他方式准备系统。

需求 GitHub 版本
buluma.bootstrap Ansible Molecule Version
buluma.ca_certificates Ansible Molecule Version

上下文

该角色是许多兼容角色的一部分。有关更多信息,请查看 这些角色的文档

以下是相关角色的概述:

dependencies

兼容性

该角色已在这些 容器镜像 上进行测试:

容器 标签
EL 8
Debian bullseye
opensuse all
Ubuntu focal, noble, jammy

所需的最低 Ansible 版本为 2.12,测试已在:

  • 之前的版本。
  • 当前版本。
  • 开发版本。

如果发现问题,请在 GitHub 中注册。

变更日志

角色历史记录

许可证

Apache-2.0

作者信息

Shadow Walker

关于项目

Install and configure zabbix_repository on your system.

安装
ansible-galaxy install buluma.zabbix_repository
许可证
apache-2.0
下载
145.2k
拥有者
DevOps Engineer