: move from scw s3 to sftp hetzner storage box

This commit is contained in:
VC
2025-01-06 16:56:58 +01:00
parent b41d2b4987
commit 91ec47fbaf
4 changed files with 17 additions and 12 deletions

View File

@@ -154,6 +154,18 @@ config rule
option dest_port '80 443'
option target 'ACCEPT'
# SSH to Storage Box OUT
config rule
option name 'Allow-OUTPUT-SSH-Hetzner'
option src 'dmz'
list proto 'tcp'
option dest 'wan'
option dest_port '22'
option src_ip '{{ hostvars['frederica.dmz.mateu.be']['ansible_default_ipv4']['address'] }}'
option dest_ip '{{ lookup('community.dns.lookup', 'u441453.your-storagebox.de') }}'
option target 'ACCEPT'
option family 'ipv4'
# SSH traffic IN
config rule
option name 'Allow-INPUT-SSH'

View File

@@ -6,4 +6,4 @@ restic_architecture: "amd64"
restic_system: "{{ ansible_facts['system'] | lower }}"
restic_download_url: "https://github.com/restic/restic/releases/download/v{{ restic_version }}/restic_{{ restic_version }}_{{ restic_system }}_{{ restic_architecture }}.bz2"
restic_repository: "s3:{{ restic_s3_url }}/{{ inventory_hostname }}"
restic_repository: "{{ restic_s3_url }}/{{ inventory_hostname }}"