From ed59458f397ee6658a694475aab24b1f0ea19927 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 8 Jan 2024 19:20:55 +0000 Subject: [PATCH] Add backups to tang --- ansible/host_vars/{tang.yml => tang/main.yml} | 3 +++ ansible/host_vars/tang/vault.yml | 9 +++++++++ ansible/main.yml | 1 + 3 files changed, 13 insertions(+) rename ansible/host_vars/{tang.yml => tang/main.yml} (60%) create mode 100644 ansible/host_vars/tang/vault.yml diff --git a/ansible/host_vars/tang.yml b/ansible/host_vars/tang/main.yml similarity index 60% rename from ansible/host_vars/tang.yml rename to ansible/host_vars/tang/main.yml index c916451..af0a4cc 100644 --- a/ansible/host_vars/tang.yml +++ b/ansible/host_vars/tang/main.yml @@ -1,2 +1,5 @@ ssh_extra_allowed_users: jake private_ip: "{{ ansible_default_ipv4.address }}" + +restic_backup_locations: + - /var/lib/adguardhome/ diff --git a/ansible/host_vars/tang/vault.yml b/ansible/host_vars/tang/vault.yml new file mode 100644 index 0000000..ce5c4df --- /dev/null +++ b/ansible/host_vars/tang/vault.yml @@ -0,0 +1,9 @@ +$ANSIBLE_VAULT;1.1;AES256 +62623062666237373636616333623434363662316639633962363833303663376331346338363365 +6633336638623237396134613033346665313964613538320a656134323135613834316462366161 +36633062623031306562313233356536643132346466376435303031333331643936613036616236 +3231613336396135340a376339396663343837353139393062353530626566626566366439353762 +37376236376437393863633730643531323762336536633034353132356266373361613434326333 +39663562353337666435653435623563383630383537663633336437613262323733363766666539 +66373538386163303731663331666138656435343436613633323766366261316337373830653837 +64313133396532376436 diff --git a/ansible/main.yml b/ansible/main.yml index cec0af5..ea804a3 100644 --- a/ansible/main.yml +++ b/ansible/main.yml @@ -132,6 +132,7 @@ - adguardhome - role: prometheus.prometheus.node_exporter become: true + - restic - hosts: pve-dokku roles: