From b40266b2769a066502be2638acde24f85c84257e Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 9 Jan 2021 23:21:35 +0000 Subject: [PATCH] Add roles to handle PVE nag and repos --- ansible/galaxy-requirements.yml | 2 ++ ansible/main.yml | 6 ++++++ ansible/roles/pve/tasks/main.yml | 5 +++++ 3 files changed, 13 insertions(+) create mode 100644 ansible/roles/pve/tasks/main.yml diff --git a/ansible/galaxy-requirements.yml b/ansible/galaxy-requirements.yml index 4562b8b..4a6521e 100644 --- a/ansible/galaxy-requirements.yml +++ b/ansible/galaxy-requirements.yml @@ -1,3 +1,5 @@ - src: geerlingguy.docker - src: geerlingguy.ntp - src: realorangeone.reflector +- src: https://github.com/IronicBadger/ansible-role-proxmox-nag-removal + name: proxmox-nag-removal diff --git a/ansible/main.yml b/ansible/main.yml index 5fbb3cc..9679ea3 100644 --- a/ansible/main.yml +++ b/ansible/main.yml @@ -59,3 +59,9 @@ - hosts: ingress roles: - ingress + +- hosts: pve + roles: + - role: proxmox-nag-removal + become: true + - pve diff --git a/ansible/roles/pve/tasks/main.yml b/ansible/roles/pve/tasks/main.yml new file mode 100644 index 0000000..419f041 --- /dev/null +++ b/ansible/roles/pve/tasks/main.yml @@ -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