All checks were successful
ansible-lint / Ansible Lint (push) Successful in 12s
Gitleaks Scan / gitleaks (push) Successful in 5s
Markdown Lint / markdown-lint (push) Successful in 5s
ai-reviews / Review PR (pull_request) Successful in 9s
ansible-lint / Ansible Lint (pull_request) Successful in 11s
Gitleaks Scan / gitleaks (pull_request) Successful in 4s
Markdown Lint / markdown-lint (pull_request) Successful in 4s
Renamed the task from 'task' to 'repos | Comment out Proxmox enterprise repo lines' and updated the accompanying comment for clarity.
19 lines
626 B
YAML
19 lines
626 B
YAML
---
|
|
- name: repos | 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
|