Add roles to handle PVE nag and repos
This commit is contained in:
parent
6dd86ea870
commit
b40266b276
3 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
||||||
- src: geerlingguy.docker
|
- src: geerlingguy.docker
|
||||||
- src: geerlingguy.ntp
|
- src: geerlingguy.ntp
|
||||||
- src: realorangeone.reflector
|
- src: realorangeone.reflector
|
||||||
|
- src: https://github.com/IronicBadger/ansible-role-proxmox-nag-removal
|
||||||
|
name: proxmox-nag-removal
|
||||||
|
|
|
@ -59,3 +59,9 @@
|
||||||
- hosts: ingress
|
- hosts: ingress
|
||||||
roles:
|
roles:
|
||||||
- ingress
|
- ingress
|
||||||
|
|
||||||
|
- hosts: pve
|
||||||
|
roles:
|
||||||
|
- role: proxmox-nag-removal
|
||||||
|
become: true
|
||||||
|
- pve
|
||||||
|
|
5
ansible/roles/pve/tasks/main.yml
Normal file
5
ansible/roles/pve/tasks/main.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
- name: Add no subscription repository
|
||||||
|
apt_repository:
|
||||||
|
repo: deb http://download.proxmox.com/debian/pve buster pve-no-subscription
|
||||||
|
state: present
|
||||||
|
filename: pve-no-subscription
|
Loading…
Reference in a new issue