Configure needrestart
This commit is contained in:
parent
895083900f
commit
854f0b9906
1 changed files with 6 additions and 1 deletions
|
@ -21,4 +21,9 @@
|
||||||
dest: ~/docker-apt-dater/hosts.d/host.xml
|
dest: ~/docker-apt-dater/hosts.d/host.xml
|
||||||
run_once: True
|
run_once: True
|
||||||
|
|
||||||
|
- name: Automaticaly restart services when needed
|
||||||
|
lineinfile:
|
||||||
|
path: /etc/needrestart/needrestart.conf
|
||||||
|
regexp: '^\$nrconf{restart} ='
|
||||||
|
line: $nrconf{restart} = 'a';
|
||||||
|
become: true
|
Loading…
Add table
Reference in a new issue