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,14 +1,14 @@
|
||||
---
|
||||
- name: Remove enterprise repo files (all known locations)
|
||||
file:
|
||||
- name: repos | Remove enterprise repo files (all known locations)
|
||||
ansible.builtin.file:
|
||||
path: "{{ item }}"
|
||||
state: absent
|
||||
loop:
|
||||
- /etc/apt/sources.list.d/pve-enterprise.list
|
||||
- /etc/apt/sources.list.d/ceph.list
|
||||
|
||||
- name: Enable Proxmox no-subscription repo
|
||||
copy:
|
||||
- name: repos | Enable Proxmox no-subscription repo
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/apt/sources.list.d/pve-no-subscription.list
|
||||
content: |
|
||||
deb http://download.proxmox.com/debian/pve {{ ansible_distribution_release }} pve-no-subscription
|
||||
|
||||
Reference in New Issue
Block a user