Correction simultanéité et retrait de jitsi

mise_a_niveau
korenstin 2024-12-21 19:57:48 +01:00
parent 55dc80f2d4
commit f51980f7b9
4 changed files with 7 additions and 19 deletions

View File

@ -1,10 +0,0 @@
---
interfaces:
adm: ens18
srv: ens19
loc_unattended:
reboot: true
loc_needrestart:
override: []

6
hosts
View File

@ -36,7 +36,6 @@ proxy-pve-adh.adm.crans.org
[certbot:children]
dovecot
galene
jitsi
postfix
reverseproxy
virtu
@ -98,9 +97,6 @@ fyre.adm.crans.org
[irc]
irc.adm.crans.org
[jitsi]
jitsi.adm.crans.org
[keepalived]
routeur-daniel.adm.crans.org
routeur-jack.adm.crans.org
@ -133,7 +129,6 @@ ptf.adm.crans.org
[nginx:children]
django_cas
galene
jitsi
mailman
mirror_frontend
printer
@ -287,7 +282,6 @@ gitzly.adm.crans.org
helloworld.adm.crans.org
hodaur.adm.crans.org
irc.adm.crans.org
jitsi.adm.crans.org
kenobi.adm.crans.org
kiwi.adm.crans.org
linx.adm.crans.org

View File

@ -26,7 +26,9 @@
with_nested:
- "{{ restic.config }}"
- { .env, -excludes, -includes, -password, -repo }
notify: Restart timer
notify:
- Restart timer
- systemctl daemon-reload
- name: Deploy restic systemd
template:
@ -38,7 +40,9 @@
with_nested:
- "{{ restic.config }}"
- { .service, .timer }
notify: Restart timer
notify:
- Restart timer
- systemctl daemon-reload
- name: Init restic repository (Debian >=12)
command:

View File

@ -7,7 +7,7 @@ Wants=network-online.target
[Service]
EnvironmentFile=/etc/restic/{{ item.0 }}.env
ExecStart=restic backup --files-from=/etc/restic/{{ item.0 }}-includes --exclude-file=/etc/restic/{{ item.0 }}-excludes{{ restic.config[item.0].backup_extra_param | default("") }}
ExecStart=restic forget --prune{% for freq, n in restic.config[item.0].retention %} {{ freq }} {{ n }}{% endfor %}
ExecStartPost=restic forget --prune{% for freq, n in restic.config[item.0].retention %} {{ freq }} {{ n }}{% endfor %}
Type=oneshot
User=root