From 7ef13a36f2288747ab932f049bf55d1fce5cc087 Mon Sep 17 00:00:00 2001 From: phil Date: Sat, 8 Apr 2023 21:33:57 +0200 Subject: [PATCH] Add set_fact --- tasks/borgbase.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tasks/borgbase.yml b/tasks/borgbase.yml index d3d3adb..1d665dc 100644 --- a/tasks/borgbase.yml +++ b/tasks/borgbase.yml @@ -22,3 +22,11 @@ quota_enabled: false alert_days: 1 register: borgbase_repo + +- name: Set borgbase repo id + ansible.builtin.set_fact: + borgbackup_borgbase_repo: "{{ borgbase_repo.repo_id }}" + +- name: Set borgbackup_ssh_host + ansible.builtin.set_fact: + borgbackup_ssh_host: "{{ borgbackup_borgbase_repo }}.repo.borgbase.com"