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.
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
|