robertdebock.powertop
Ansible Role Powertop
This guide will help you install powertop
on your system and set it up for optimization during the boot process.
GitHub | GitLab | Downloads | Version |
---|---|---|---|
Example Playbook
Here is a simple playbook that installs and configures powertop
. This example is from molecule/default/converge.yml
and is verified with every update.
---
- name: Converge
hosts: all
become: true
gather_facts: true
roles:
- role: robertdebock.powertop
To prepare the machine, you can use this setup script from molecule/default/prepare.yml
:
---
- name: Prepare
hosts: all
become: true
gather_facts: false
roles:
- role: robertdebock.bootstrap
For more details, see the full explanation and example on using these roles.
Requirements
Make sure to install the pip packages listed in requirements.txt.
State of Used Roles
The following roles help set up your system. You can choose other methods if you prefer.
Requirement | GitHub | GitLab |
---|---|---|
robertdebock.bootstrap | ||
robertdebock.service |
Context
This role works alongside many other compatible roles. For more information, check the documentation of these roles.
Here is an overview of related roles:
Compatibility
This role has been tested on these container images:
Container | Tags |
---|---|
Alpine | all |
EL | 9 |
Debian | all |
Fedora | all |
Ubuntu | all |
You need at least Ansible version 2.12. Tests have been performed on:
- The previous version
- The current version
- The development version
If you encounter any issues, please report them on GitHub.
License
This project is licensed under the Apache-2.0.
Author Information
This role is created by robertdebock.
If you like my work, please consider sponsoring me.
Install powertop on your system and optimize at boot.
ansible-galaxy install robertdebock.powertop