Add needrestart override for PVC daemons
This commit is contained in:
parent
36fcdd151b
commit
e4a0e0be7c
|
@ -412,6 +412,14 @@
|
||||||
mode: 0440
|
mode: 0440
|
||||||
tags: base-system
|
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
|
# dns
|
||||||
- name: write the hosts config
|
- name: write the hosts config
|
||||||
template:
|
template:
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
# needrestart - Blacklist PVC binaries
|
||||||
|
# {{ ansible_managed }}
|
||||||
|
|
||||||
|
push @{$nrconf{blacklist}}, qr(^/usr/share/pvc/);
|
Loading…
Reference in New Issue