diff options
author | heqnx <root@heqnx.com> | 2025-06-27 14:36:04 +0300 |
---|---|---|
committer | heqnx <root@heqnx.com> | 2025-06-27 14:36:04 +0300 |
commit | cb3dc22df728272ad05de3684eb8dc672654a05e (patch) | |
tree | 4c3ddd6505b82d4559ced35232e3ea028b70da1d /tasks/pve_setup.yaml | |
parent | 12756a89c2089f696c9e05bf8c95a093e25521a4 (diff) | |
download | ansible-pve-host-cb3dc22df728272ad05de3684eb8dc672654a05e.tar.gz ansible-pve-host-cb3dc22df728272ad05de3684eb8dc672654a05e.zip |
added conditional dnsmasq setup for vmbr1 and ufw filter rules; fixed a couple of issues by removing /etc/pve/priv, no need for modifying it
Diffstat (limited to 'tasks/pve_setup.yaml')
-rw-r--r-- | tasks/pve_setup.yaml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tasks/pve_setup.yaml b/tasks/pve_setup.yaml index 9de9489..28fb8bc 100644 --- a/tasks/pve_setup.yaml +++ b/tasks/pve_setup.yaml @@ -97,6 +97,19 @@ register: grub_update changed_when: "'Generating grub configuration file' in grub_update.stdout" +- name: block all generic linux-image and linux-headers (non-pve) + copy: + dest: /etc/apt/preferences.d/no-debian-kernel + content: | + Package: linux-image-* + Pin: release * + Pin-Priority: -1 + + Package: linux-headers-* + Pin: release * + Pin-Priority: -1 + mode: '0644' + - name: remove problematic apt packages for pve apt: name: "{{ apt_packages_to_remove }}" |