--- - name: Remove enterprise repo files (all known locations) file: path: "{{ item }}" state: absent loop: - /etc/apt/sources.list.d/pve-enterprise.list - /etc/apt/sources.list.d/ceph.list - name: Enable Proxmox no-subscription repo copy: dest: /etc/apt/sources.list.d/pve-no-subscription.list content: | deb http://download.proxmox.com/debian/pve {{ ansible_distribution_release }} pve-no-subscription notify: apt update