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

18 lines
641 B
YAML
Raw Permalink 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
template: src=pve-enterprise.list.j2 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