Add set_fact
This commit is contained in:
parent
6c78f3e8ad
commit
7ef13a36f2
1 changed files with 8 additions and 0 deletions
|
@ -22,3 +22,11 @@
|
||||||
quota_enabled: false
|
quota_enabled: false
|
||||||
alert_days: 1
|
alert_days: 1
|
||||||
register: borgbase_repo
|
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"
|
||||||
|
|
Loading…
Reference in a new issue