ansible role sys_tuned
1.0.0
可安装和配置调整的Ansible角色。
调谐是配置内核参数和Linux系统的非常强大的工具。
此角色安装了调整并为系统设置适当的配置文件。
使用的模块:
从Ansible Galaxy安装
ansible-galaxy install while_true_do.sys_tuned
从Github安装
git clone https://github.com/while-true-do/ansible-role-sys_tuned.git while_true_do.sys_tuned
---
# defaults file for while_true_do.sys_tuned
## Package Management
wtd_sys_tuned_packages:
- tuned
- tuned-profiles-cpu-partitioning
# State can be present|latest|absent
wtd_sys_tuned_packages_state: "present"
## Service Management
wtd_sys_tuned_service: "tuned"
# State can be started|stopped|restarted
wtd_sys_tuned_service_state: "started"
wtd_sys_tuned_service_enabled: true
## Configuration Management
# Which profile to use
# auto|balanced|virt-guest|powersave|hpc-compute|desktop|etc...
wtd_sys_tuned_profile: "auto"
可以在剧本中执行Ansible角色。
---
- hosts: all
roles:
- role: while_true_do.sys_tuned
大多数“通用”测试位于测试库中。
Ansible特异性测试是通过分子进行的。
基础架构测试是通过TestInfra进行的。
自动测试是通过Travis CI进行的。
非常感谢您考虑做出贡献。当有人加入辛勤工作时,我们感到非常高兴。在阅读贡献指南后,请自由打开错误,功能请求或拉出请求。
看看谁已经在Kudos.txt中做出了贡献。
这项工作是根据BSD-3-CAREASE许可获得许可的。