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

View File

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

View File

@ -7,7 +7,7 @@ Wants=network-online.target
[Service] [Service]
EnvironmentFile=/etc/restic/{{ item.0 }}.env 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 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 Type=oneshot
User=root User=root