Some checks failed
ansible-lint / Ansible Lint (push) Failing after 12s
Gitleaks Scan / gitleaks (push) Successful in 4s
ai-reviews / Review PR (pull_request) Successful in 27s
Markdown Lint / markdown-lint (push) Successful in 5s
ansible-lint / Ansible Lint (pull_request) Failing after 11s
Gitleaks Scan / gitleaks (pull_request) Successful in 4s
Markdown Lint / markdown-lint (pull_request) Successful in 5s
This commit updates the repository configuration by commenting out enterprise-specific lines and enabling the Proxmox no-subscription repository to simplify setup for users without a subscription.
19 lines
618 B
YAML
19 lines
618 B
YAML
---
|
|
- name: Comment out Proxmox enterprise repo lines
|
|
ansible.builtin.replace:
|
|
path: /etc/apt/sources.list.d/pve-enterprise.list
|
|
regexp: '^(deb\s+)'
|
|
replace: '# \1'
|
|
when: ansible.builtin.stat(path='/etc/apt/sources.list.d/pve-enterprise.list').stat.exists
|
|
notify: apt update
|
|
|
|
- name: repos | Enable Proxmox no-subscription repo
|
|
ansible.builtin.copy:
|
|
dest: /etc/apt/sources.list.d/pve-no-subscription.list
|
|
owner: root
|
|
group: root
|
|
mode: "0644"
|
|
content: |
|
|
deb http://download.proxmox.com/debian/pve {{ ansible_distribution_release }} pve-no-subscription
|
|
notify: apt update
|