proxmox: switch to deb822 source format
Debian did, Proxmox did, now we did too. Also enable ceph repository if ceph-version is set in config context.
This commit is contained in:
parent
937c75e097
commit
59c1431f93
2 changed files with 34 additions and 17 deletions
|
@ -32,23 +32,7 @@
|
|||
|
||||
- include_tasks: network.yml
|
||||
|
||||
- name: Disable enterprise repositories
|
||||
apt_repository:
|
||||
repo: '{{ item }}'
|
||||
state: absent
|
||||
update_cache: no
|
||||
loop:
|
||||
- 'deb https://enterprise.proxmox.com/debian/pve {{ ansible_distribution_release }} pve-enterprise'
|
||||
- 'deb https://enterprise.proxmox.com/debian/ceph-quincy {{ ansible_distribution_release }} enterprise'
|
||||
notify: update package cache
|
||||
|
||||
- name: Enable no-subscription repository
|
||||
apt_repository:
|
||||
repo: 'deb http://download.proxmox.com/debian/pve {{ ansible_distribution_release }} pve-no-subscription'
|
||||
update_cache: no
|
||||
notify: update package cache
|
||||
|
||||
- meta: flush_handlers
|
||||
- include_tasks: repositories.yml
|
||||
|
||||
- name: Install essential packages
|
||||
package:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue