ansible-edda/plays/services/roles/deploy/lrproxy/templates/systemd/rsync-certificates.service.j2

13 lines
543 B
Plaintext
Raw Normal View History

[Unit]
Description=Podman rsync-certificates.service
Documentation=man:rsync(1)
OnFailure=status-mail@%n.service
[Service]
Type=oneshot
2022-11-02 20:03:12 +01:00
ExecStart=/usr/bin/rsync -e 'ssh -i .ssh/valkyrie-pod-rproxy -l pod-rproxy' \
-avz \
--delete \
2022-12-18 00:05:58 +01:00
{{ hostvars['valkyrie'].vpn_wireguard_address }}:{{ hostvars['valkyrie'].services_data_directory }}/pod-rproxy/etc-letsencrypt/ \
{{ hostvars['yggdrasil'].services_data_directory }}/pod-lrproxy/etc-letsencrypt