All checks were successful
ansible-lint / Ansible Lint (push) Successful in 13s
Gitleaks Scan / gitleaks (push) Successful in 4s
Markdown Lint / markdown-lint (push) Successful in 5s
ai-reviews / Review PR (pull_request) Successful in 13s
PR check / Gitleaks (pull_request) Successful in 4s
PR check / lint tests (pull_request) Successful in 15s
PR check / labeler (pull_request) Successful in 2s
PR check / handle_failures (pull_request) Has been skipped
PR check / handle_success (pull_request) Successful in 1s
Repositioned the 'Reload Systemd' task to a more appropriate location and renamed it for clarity.
23 lines
554 B
YAML
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
|