ansible role sys_tuned
1.0.0
調整されたインストールと構成のためのアンシブルロール。
Tunedは、カーネルパラメーターと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"
実行可能な役割を実行することは、プレイブックで実行できます。
---
- hosts: all
roles:
- role: while_true_do.sys_tuned
「一般的な」テストのほとんどは、テストライブラリにあります。
Ansible固有のテストは分子で行われます。
インフラストラクチャテストは、TestInfraで行われます。
自動テストは、Travis CIで行われます。
貢献してくれてありがとう。誰かがハードワークに参加しているとき、私たちはとても幸せです。貢献ガイドラインを読んだ後、バグ、機能のリクエスト、またはプルリクエストを自由に開けてください。
kudos.txtに既に貢献している人を見てください。
この作業は、BSD-3-Clauseライセンスの下でライセンスされています。