From e276a05a3fd231b93ffa202c763b06b2af69a29a Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Sat, 20 Apr 2024 20:01:21 +0200 Subject: [PATCH] Latest updates for backup testing --- README.md | 8 +++++--- inventory/host_vars/baldur/vars.yml | 3 +++ playbooks/baldur.yml | 2 ++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 410c6c4..c688474 100644 --- a/README.md +++ b/README.md @@ -147,10 +147,12 @@ The easiest way to set these values is with Python's `keyring.set_password`. ### Testing the backups -1. Log into the `baldur`. Testing from a VM (as opposed to a regular workstation) is important to +1. Stop all services on `yggdrasil` to prevent accidental connections to the live services which + defeats the point of testing backups. +2. Log into the `baldur`. Testing from a VM (as opposed to a regular workstation) is important to prevent live applications from accidentally connecting to `baldur`. -2. Modify `/etc/hosts` in the VM to point at `rproxy` (e.g., `10.66.3.8`) for all relevant domains. -3. Test each service manually one by one. Use the Flagfox add-on to verify that you are indeed +3. Modify `/etc/hosts` in the VM to point at `rproxy` (e.g., `10.66.3.8`) for all relevant domains. +4. Test each service manually one by one. Use the Flagfox add-on to verify that you are indeed connecting to `baldur`. ### Cleaning up diff --git a/inventory/host_vars/baldur/vars.yml b/inventory/host_vars/baldur/vars.yml index e355866..211b7cf 100644 --- a/inventory/host_vars/baldur/vars.yml +++ b/inventory/host_vars/baldur/vars.yml @@ -77,3 +77,6 @@ services_host_services: inet_address: "{{ vpn_bridge_inet_prefix }}.11" inet6_address: "{{ vpn_bridge_inet6_prefix }}::11" restic: false + +services_host_rproxy_inet_address: "{{ services_all_services.lrproxy.inet_address }}" +services_host_rproxy_inet6_address: "{{ services_all_services.lrproxy.inet6_address }}" diff --git a/playbooks/baldur.yml b/playbooks/baldur.yml index d1b8046..6c00191 100644 --- a/playbooks/baldur.yml +++ b/playbooks/baldur.yml @@ -106,6 +106,8 @@ tags: - "services:setup" - "services:setup:system" + vars: + services_setup_system_containers_storage_fuse_overlay: "{{ 'zfs' in group_names }}" tasks: - name: "setup : user"