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

11 lines
400 B
YAML

---
- name: Installing pve-subscribe script
copy: src=pve-subscribe dest=/usr/local/bin/pve-subscribe mode=0755 owner=root
- name: Configuring cron to run pve-subscribe hook after reboot
cron: name=pve-subscribe special_time=reboot job=/etc/cron.d/pve-subscribe
- name: Configuring apt to run pve-subscribe hook
copy: src=apt-pve-subscribe dest=/etc/apt/apt.conf.d/99pve-subscribe mode=0644