aboutsummaryrefslogtreecommitdiff
path: root/tasks/pve_setup.yaml
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-06-24 00:28:18 +0300
committerheqnx <root@heqnx.com>2025-06-24 00:28:18 +0300
commit4d996aff99c9c31ed66f82afb11c74569ccc6763 (patch)
treea4dd5b17132fb2a9543fcb2f8eecf440b5b76577 /tasks/pve_setup.yaml
parent5832dc592761147a607a3ba35af8715c9adb0527 (diff)
downloadansible-pve-host-4d996aff99c9c31ed66f82afb11c74569ccc6763.tar.gz
ansible-pve-host-4d996aff99c9c31ed66f82afb11c74569ccc6763.zip
adding wireguard setup for pve vm access
Diffstat (limited to 'tasks/pve_setup.yaml')
-rw-r--r--tasks/pve_setup.yaml9
1 files changed, 8 insertions, 1 deletions
diff --git a/tasks/pve_setup.yaml b/tasks/pve_setup.yaml
index 7d04ff2..9fcea47 100644
--- a/tasks/pve_setup.yaml
+++ b/tasks/pve_setup.yaml
@@ -7,7 +7,7 @@
mode: '0644'
- name: create /etc/apt/sources.list.d directory
- ansible.builtin.file:
+ file:
path: /etc/apt/sources.list.d
state: directory
mode: '0755'
@@ -51,6 +51,8 @@
name: "{{ apt_packages }}"
state: present
update_cache: true
+ environment:
+ DEBIAN_FRONTEND: noninteractive
- name: reboot to activate proxmox ve kernel
reboot:
@@ -91,3 +93,8 @@
apt:
name: "{{ apt_packages_to_remove }}"
state: absent
+
+- name: remove pve-enterprise apt source
+ file:
+ path: /etc/apt/sources.list.d/pve-enterprise.list
+ state: absent