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:
@@ -2,14 +2,14 @@
|
||||
# ansible_role_proxmox_provision/handlers/main.yml
|
||||
# Handlers for role
|
||||
# ==================
|
||||
- name: apt update
|
||||
apt:
|
||||
- name: Run apt update
|
||||
ansible.builtin.apt:
|
||||
update_cache: yes
|
||||
|
||||
- name: restart pveproxy
|
||||
systemd:
|
||||
- name: Restart pveproxy
|
||||
ansible.builtin.systemd:
|
||||
name: pveproxy
|
||||
state: restarted
|
||||
|
||||
- name: reload systemd
|
||||
command: systemctl daemon-reexec
|
||||
- name: Reload systemd
|
||||
ansible.builtin.command: systemctl daemon-reexec
|
||||
|
||||
Reference in New Issue
Block a user