From b51677b795bbf8c723ef5241b0765e2a60344899 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 27 Jan 2024 15:04:53 +0000 Subject: [PATCH] Back up headscale config --- ansible/host_vars/{casey.yml => casey/main.yml} | 3 +++ ansible/host_vars/casey/vault.yml | 9 +++++++++ ansible/main.yml | 1 + 3 files changed, 13 insertions(+) rename ansible/host_vars/{casey.yml => casey/main.yml} (83%) create mode 100644 ansible/host_vars/casey/vault.yml diff --git a/ansible/host_vars/casey.yml b/ansible/host_vars/casey/main.yml similarity index 83% rename from ansible/host_vars/casey.yml rename to ansible/host_vars/casey/main.yml index 484b1a2..71c02f2 100644 --- a/ansible/host_vars/casey.yml +++ b/ansible/host_vars/casey/main.yml @@ -7,3 +7,6 @@ nginx_https_redirect: true certbot_certs: - domains: - headscale.jakehoward.tech + +restic_backup_locations: + - /var/lib/headscale/ diff --git a/ansible/host_vars/casey/vault.yml b/ansible/host_vars/casey/vault.yml new file mode 100644 index 0000000..510f68e --- /dev/null +++ b/ansible/host_vars/casey/vault.yml @@ -0,0 +1,9 @@ +$ANSIBLE_VAULT;1.1;AES256 +30643138356634323666316163396138663836316261363966636335366534336330616635383663 +6461393538346263363164613930396266323930626335370a306165306663336538316163666364 +65383835386635336433393162613031386334646632666638613162623434646531356533346132 +3162373933336365660a353163316338303630633761336238363966376336643838616135303231 +32646530376561326635633563393066656232363734653464326665396236656232613362333461 +39393134626466656561346138633362653732333639333765303961383365623737666164326532 +66356263326366323435623834306439633061386364633132613362386663633733386637363266 +31393438326531353265 diff --git a/ansible/main.yml b/ansible/main.yml index 92f30cf..11dfa84 100644 --- a/ansible/main.yml +++ b/ansible/main.yml @@ -15,6 +15,7 @@ - nebula - headscale - fail2ban_ssh + - restic - hosts: - pve