biiiiig update !

This commit is contained in:
Ludovic Cartier
2026-02-20 15:46:38 +01:00
parent ecda4ecafd
commit 717c98fa6c
12 changed files with 221 additions and 25 deletions
+21
View File
@@ -0,0 +1,21 @@
---
- name: needrestart | install
apt:
name: needrestart
state: present
update_cache: true
- name: needrestart | configure auto restart
copy:
dest: /etc/needrestart/conf.d/override.conf
content: |
$nrconf{restart} = 'a';
mode: '0644'
- name: needrestart | configure exclusions
template:
src: needrestart_exclude.j2
dest: /etc/needrestart/conf.d/exclude.conf
mode: '0644'
when: needrestart_exclude is defined