Files
ansible_role_proxmox_provision/tasks/powertop.yml
Jose 3d018fd178
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 11s
Gitleaks Scan / gitleaks (push) Successful in 4s
Markdown Lint / markdown-lint (push) Failing after 4s
refactor ♻️: Refactor task names and module references for clarity and consistency
This commit refactors task names across multiple files to improve clarity and maintain consistency, ensuring that each task name accurately reflects its purpose and using the latest `ansible.builtin` modules where applicable.
2026-02-07 08:45:57 +01:00

23 lines
554 B
YAML

---
- name: powertop | Install powertop
ansible.builtin.apt:
name: powertop
state: present
update_cache: yes
when: proxmox_enable_powertop
- name: powertop | Create powertop systemd service
ansible.builtin.template:
src: powertop.service.j2
dest: /etc/systemd/system/powertop.service
mode: "0644"
when: proxmox_enable_powertop
notify: reload systemd
- name: powertop | Enable and start powertop service
ansible.builtin.systemd:
name: powertop
enabled: true
state: started
when: proxmox_enable_powertop