buluma.bareos_repository

Ansible 角色 bareos_repository

设置 Bareos 仓库。

GitHub 版本 问题 拉取请求 下载
github 版本 问题 拉取请求 Ansible 角色

示例剧本

此示例来自 molecule/default/converge.yml,在每次推送、拉取请求和发布时都会进行测试。

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

  roles:
    - role: buluma.bareos_repository
      bareos_repository_enable_tracebacks: true

机器需要进行准备。在 CI 中,这通过 molecule/default/prepare.yml 完成:

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

  roles:
    - role: buluma.bootstrap

另见 完整说明和示例,了解如何使用这些角色。

角色变量

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

---
# bareos_repository 的默认文件

# 要安装的 Bareos 类型,可以是 "community" 或 "subscription"。
bareos_repository_type: community

# 仓库的订阅用户名。
bareos_repository_username: ""

# 仓库的订阅密码。
bareos_repository_password: ""

# 使用哪个版本,可以是 "current"、"next" 或 "release"。
# 使用 `bareos_repository_type: community` 时,可以设置为 "release" 或 "testing"。
bareos_repository_release: current

# 要安装的 Bareos 版本。
# 仅影响 `bareos_repository_type: subscription`。
bareos_repository_version: 23

# 您可以启用回溯以进行故障排除。
bareos_repository_enable_tracebacks: false

需求

使用的角色状态

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

需求 GitHub 版本
buluma.bootstrap Ansible Molecule 版本
buluma.bareos_repository Ansible Molecule 版本
buluma.buildtools Ansible Molecule 版本
buluma.epel Ansible Molecule 版本
buluma.python_pip Ansible Molecule 版本
buluma.postgres Ansible Molecule 版本

上下文

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

以下是相关角色的概述:

依赖

兼容性

此角色已在以下 容器镜像 上进行了测试:

容器 标签
Debian bullseye, buster
EL 8, 9
Fedora 38, 39
opensuse 所有
Ubuntu jammy

所需的 Ansible 最小版本是 2.12,并且已经进行测试:

  • 上一个版本。
  • 当前版本。
  • 开发版本。

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

更新日志

角色历史

许可证

Apache-2.0

作者信息

Shadow Walker

关于项目

Setup the [Bareos](https://www.bareos.com/) repositories.

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