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許可獲得許可的。