robertdebock.powertop
Ansible 角色 powertop
在你的系统上安装 powertop 并在启动时进行优化。
| GitHub | GitLab | 下载 | 版本 |
|---|---|---|---|
示例剧本
此示例来自 molecule/default/converge.yml,在每次推送、拉取请求和发布时进行测试。
---
- name: Converge
hosts: all
become: true
gather_facts: true
roles:
- role: robertdebock.powertop
需要准备机器。在 CI 中,这是通过 molecule/default/prepare.yml 完成的:
---
- name: Prepare
hosts: all
become: true
gather_facts: false
roles:
- role: robertdebock.bootstrap
另请查看 完整说明和示例,以了解如何使用这些角色。
要求
- 在 requirements.txt 中列出的 pip 包。
使用的角色状态
以下角色用于准备系统。你可以以其他方式准备系统。
| 要求 | GitHub | GitLab |
|---|---|---|
| robertdebock.bootstrap | ||
| robertdebock.service |
上下文
此角色是许多兼容角色的一部分。有关更多信息,请查看 这些角色的文档。
以下是相关角色的概述:

兼容性
此角色已在以下 容器镜像 中进行了测试:
| 容器 | 标签 |
|---|---|
| Alpine | 所有 |
| EL | 9 |
| Debian | 所有 |
| Fedora | 所有 |
| Ubuntu | 所有 |
所需的 Ansible 最低版本为 2.12,测试已进行以下版本:
- 上一个版本。
- 当前版本。
- 开发版本。
如果你发现问题,请在 GitHub 提交问题。
许可证
作者信息
请考虑 赞助我。
安装
ansible-galaxy install robertdebock.powertop许可证
apache-2.0
下载
505
拥有者
I know my way around (Linux) infrastructure, have a passion for automation, Docker, Ansible, Molecule and ci/cd.
