vh-ansible/roles/pve-subscribe/tasks/enterprise.yml

18 lines
634 B
YAML
Raw Normal View History

---
- name: Unset no-subscription repo
file: path=/etc/apt/sources.list.d/pve-no-subscription.list state=absent
- name: Configuring enterprise repo
copy: src=pve-enterprise.list dest=/etc/apt/sources.list.d/pve-enterprise.list
- name: Removing previously installed pve-subscribe hook for cron
cron: name=pve-subscribe special_time=reboot job=/etc/cron.d/pve-subscribe state=absent
- name: Removing previously installed pve-subscribe hook for apt
file: path=/etc/apt/apt.conf.d/99pve-subscribe state=absent
- name: Removing previously installed pve-subscribe script
file: path=/usr/local/bin/pve-subscribe state=absent