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.
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
---
|
||||
- name: Install powertop
|
||||
apt:
|
||||
- name: powertop | Install powertop
|
||||
ansible.builtin.apt:
|
||||
name: powertop
|
||||
state: present
|
||||
update_cache: yes
|
||||
when: proxmox_enable_powertop
|
||||
|
||||
- name: Create powertop systemd service
|
||||
template:
|
||||
- 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: Enable and start powertop service
|
||||
systemd:
|
||||
- name: powertop | Enable and start powertop service
|
||||
ansible.builtin.systemd:
|
||||
name: powertop
|
||||
enabled: true
|
||||
state: started
|
||||
|
||||
Reference in New Issue
Block a user