buluma.fathom

Ansible 角色 fathom

Fathom 网站分析

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

示例剧本

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

---
- name: 汇聚
  hosts: all
  become: true
  gather_facts: true

  roles:
    - role: buluma.fathom

机器需要准备。在 CI 中,使用 molecule/default/prepare.yml 完成此操作:

---
- name: 准备
  hosts: all
  become: true
  gather_facts: false

  roles:
    - role: buluma.bootstrap
    - role: buluma.repo_epel
      when:
        - (ansible_distribution == "Amazon" and
          ansible_distribution_major_version == "2") or
          (ansible_os_family == "RedHat" and
          ansible_distribution_major_version in [ "7", "8" ])
    - role: buluma.ca_certificates

有关如何使用这些角色的 完整解释和示例

角色变量

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

---
# fathom 的默认文件
fathom_binary_url: "https://github.com/usefathom/fathom/releases/download/v1.3.1/fathom_1.3.1_linux_amd64.tar.gz"
fathom_force_update: false

fathom_manage_service: true
fathom_service_state: started
fathom_service_enabled: true
fathom_service_user: root

fathom_directory: /opt/fathom
fathom_http_port: "9000"
fathom_database_name: fathom.db
fathom_secret: secret-string-here

要求

使用的角色状态

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

需求 GitHub 版本
buluma.bootstrap Ansible Molecule 版本
buluma.repo_epel Ansible Molecule 版本
buluma.nginx Ansible Molecule 版本
buluma.ca_certificates Ansible Molecule 版本

上下文

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

这是相关角色的概述:

依赖关系

兼容性

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

容器 标签
EL 8
Ubuntu 所有
Debian 所有

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

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

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

更新日志

角色历史记录

许可证

Apache-2.0

作者信息

Shadow Walker

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