vh-ansible/roles/pve-subscribe/tasks/main.yml
Jan-Jonas Sämann 16bd6ae321 Added pve-subscribe role
This role disables subscription dialog after logging in to PVE's web-ui
2019-01-04 21:02:01 +01:00

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