File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 132
132
name : os-prober
133
133
state : absent
134
134
135
+ - ansible.builtin.import_tasks : remove_enterprise_repos.yml
136
+ when :
137
+ - " 'pve-no-subscription' in pve_repository_line"
138
+
135
139
- name : Add Proxmox repository
136
140
apt_repository :
137
141
repo : " {{ pve_repository_line }}"
195
199
until : _proxmox_install is succeeded
196
200
197
201
- block :
198
- - name : Remove automatically installed PVE Enterprise repo configuration
199
- apt_repository :
200
- repo : " {{ item }}"
201
- filename : pve-enterprise
202
- state : absent
203
- with_items :
204
- - " deb https://enterprise.proxmox.com/debian {{ ansible_distribution_release }} pve-enterprise"
205
- - " deb https://enterprise.proxmox.com/debian/pve {{ ansible_distribution_release }} pve-enterprise"
202
+ - ansible.builtin.import_tasks : remove_enterprise_repos.yml
206
203
207
204
- name : Remove subscription check wrapper function in web UI
208
205
ansible.builtin.lineinfile :
Original file line number Diff line number Diff line change
1
+ - name : Remove automatically installed PVE Enterprise repo configuration
2
+ ansible.builtin.apt_repository :
3
+ repo : " {{ item }}"
4
+ filename : pve-enterprise
5
+ state : absent
6
+ update_cache : false
7
+ with_items :
8
+ - " deb https://enterprise.proxmox.com/debian {{ ansible_distribution_release }} pve-enterprise"
9
+ - " deb https://enterprise.proxmox.com/debian/pve {{ ansible_distribution_release }} pve-enterprise"
10
+ - " deb https://enterprise.proxmox.com/debian/ceph-quincy {{ ansible_distribution_release }} enterprise"
You can’t perform that action at this time.
0 commit comments