robertdebock.haveged

Ansible 角色 haveged

在系统上安装和配置 haveged。

GitHub GitLab 下载 版本
github gitlab downloads Version

示例剧本

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

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

  roles:
    - role: robertdebock.haveged

机器需要进行准备。在 CI 中,使用 molecule/default/prepare.yml 进行准备:

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

  roles:
    - role: robertdebock.bootstrap
    - role: robertdebock.epel
    - role: robertdebock.sysctl

另外,可以查看 完整说明和示例 来了解如何使用这些角色。

角色变量

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

---
# haveged 的 ansible 角色的默认文件

# 将守护程序接口的 write_wakeup_threshold 设置为 nnn 位。
haveged_write_wakeup_threshold: 1024

要求

使用的角色状态

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

需求 GitHub GitLab
robertdebock.bootstrap Build Status GitHub Build Status GitLab
robertdebock.epel Build Status GitHub Build Status GitLab
robertdebock.sysctl Build Status GitHub Build Status GitLab

上下文

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

以下是相关角色的概述: 依赖关系

兼容性

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

容器 标签
Alpine all
EL 9
Debian all
Fedora all

所需的最小 Ansible 版本为 2.12,测试已在以下版本完成:

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

如果发现问题,请在 GitHub 上报告。

许可证

Apache-2.0

作者信息

robertdebock

请考虑 赞助我

关于项目

Install and configure haveged on your system.

安装
ansible-galaxy install robertdebock.haveged
许可证
apache-2.0
下载
88.2k
拥有者
I know my way around (Linux) infrastructure, have a passion for automation, Docker, Ansible, Molecule and ci/cd.