Add set_fact

This commit is contained in:
phil 2023-04-08 21:33:57 +02:00
parent 6c78f3e8ad
commit 7ef13a36f2

View file

@ -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"