Add needrestart override for PVC daemons

This commit is contained in:
Joshua Boniface 2024-11-03 15:38:30 -05:00
parent 36fcdd151b
commit e4a0e0be7c
2 changed files with 12 additions and 0 deletions

View File

@ -412,6 +412,14 @@
mode: 0440
tags: base-system
# needrestart
- name: write the needrestart pvc blacklist file
template:
src: "etc/needrestart/conf.d/pvc.conf.j2"
dest: "/etc/needrestart/conf.d/pvc.conf"
mode: 0444
tags: base-system
# dns
- name: write the hosts config
template:

View File

@ -0,0 +1,4 @@
# needrestart - Blacklist PVC binaries
# {{ ansible_managed }}
push @{$nrconf{blacklist}}, qr(^/usr/share/pvc/);