Commit 54ebbabc authored by nanahira's avatar nanahira

pve

parent 79e8c72e
...@@ -79,6 +79,11 @@ ...@@ -79,6 +79,11 @@
src: sources.list.j2 src: sources.list.j2
dest: /etc/apt/sources.list dest: /etc/apt/sources.list
when: ansible_os_family == 'Debian' when: ansible_os_family == 'Debian'
- name: remove pve enterprise source list
become: true
file:
name: /etc/apt/sources.list.d/pve-enterprise.list
state: absent
- name: clean some Debian packages - name: clean some Debian packages
become: true become: true
apt: apt:
......
...@@ -17,3 +17,7 @@ deb {{mirror_debian}}/debian experimental main contrib non-free ...@@ -17,3 +17,7 @@ deb {{mirror_debian}}/debian experimental main contrib non-free
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if ansible_kernel.endswith("-pve") %}
deb https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian {{ target_distribution }} pve-no-subscription
{% endif %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment