Correction simultanéité et retrait de jitsi
parent
55dc80f2d4
commit
f51980f7b9
|
@ -1,10 +0,0 @@
|
|||
---
|
||||
interfaces:
|
||||
adm: ens18
|
||||
srv: ens19
|
||||
|
||||
loc_unattended:
|
||||
reboot: true
|
||||
|
||||
loc_needrestart:
|
||||
override: []
|
6
hosts
6
hosts
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue